package/rsyslog: fix wrong symlink for systemd service

The symlink to /etc/systemd/system/syslog.service was pointing 4 levels up
to /usr/lib instead of 3 levels up.

This wasn't an issue on the actual system (/../ equals to / ) but was causing a
deadlink in the TARGET directory.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Petr Kulhavy 2017-09-20 12:10:34 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent c56942aaa7
commit 0f8163a5ca

View File

@ -91,7 +91,7 @@ define RSYSLOG_INSTALL_INIT_SYSTEMD
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -sf ../../../../usr/lib/systemd/system/rsyslog.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/rsyslog.service
ln -sf ../../../../usr/lib/systemd/system/rsyslog.service \
ln -sf ../../../usr/lib/systemd/system/rsyslog.service \
$(TARGET_DIR)/etc/systemd/system/syslog.service
endef