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>
(cherry picked from commit 0f8163a5ca)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
79ef34072e
commit
c33fc1521f
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user