From: Petr Kulhavy Date: Wed, 20 Sep 2017 10:10:34 +0000 (+0200) Subject: package/rsyslog: fix wrong symlink for systemd service X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f8163a5ca9a3baa8f2bf02f82acb6e12be9008e;p=buildroot.git 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) --- 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