From 0f8163a5ca9a3baa8f2bf02f82acb6e12be9008e Mon Sep 17 00:00:00 2001 From: Petr Kulhavy Date: Wed, 20 Sep 2017 12:10:34 +0200 Subject: [PATCH] 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 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rsyslog/rsyslog.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/rsyslog/rsyslog.mk b/package/rsyslog/rsyslog.mk index bbf7d95108..e32505be22 100644 --- a/package/rsyslog/rsyslog.mk +++ b/package/rsyslog/rsyslog.mk @@ -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 -- 2.30.2