From: Maxime Hadjinlian Date: Mon, 13 Jul 2015 19:06:30 +0000 (+0200) Subject: package: Fix source path for systemd's service X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03663adb829ede0edf7e2b0fe4a2e324c8b3f9c8;p=buildroot.git package: Fix source path for systemd's service Otherwise the link would appear broken in output/target it's not that big a deal but at least it's coherent with what we already have. Signed-off-by: Maxime Hadjinlian Signed-off-by: Thomas Petazzoni --- diff --git a/package/chrony/chrony.mk b/package/chrony/chrony.mk index f8012ac01f..72c4c4bb6c 100644 --- a/package/chrony/chrony.mk +++ b/package/chrony/chrony.mk @@ -49,7 +49,7 @@ define CHRONY_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/chrony/chrony.service \ $(TARGET_DIR)/usr/lib/systemd/system/chrony.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants - ln -sf /usr/lib/systemd/system/chrony.service \ + ln -sf ../../../../usr/lib/systemd/system/chrony.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/chrony.service endef diff --git a/package/dcron/dcron.mk b/package/dcron/dcron.mk index 840471f5d2..4a6fc47d6a 100644 --- a/package/dcron/dcron.mk +++ b/package/dcron/dcron.mk @@ -37,7 +37,7 @@ define DCRON_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/dcron/dcron.service \ $(TARGET_DIR)/usr/lib/systemd/system/dcron.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants - ln -sf /usr/lib/systemd/system/dcron.service \ + ln -sf ../../../../usr/lib/systemd/system/dcron.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/dcron.service endef diff --git a/package/exim/exim.mk b/package/exim/exim.mk index d8f41b04d6..ed6a309972 100644 --- a/package/exim/exim.mk +++ b/package/exim/exim.mk @@ -137,7 +137,7 @@ define EXIM_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/exim/exim.service \ $(TARGET_DIR)/usr/lib/systemd/system/exim.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants - ln -sf /usr/lib/systemd/system/exim.service \ + ln -sf ../../../../usr/lib/systemd/system/exim.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/exim.service endef diff --git a/package/inadyn/inadyn.mk b/package/inadyn/inadyn.mk index 5c3b0e3b55..8ceca4c352 100644 --- a/package/inadyn/inadyn.mk +++ b/package/inadyn/inadyn.mk @@ -34,7 +34,7 @@ define INADYN_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/inadyn/inadyn.service \ $(TARGET_DIR)/usr/lib/systemd/system/inadyn.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants - ln -sf /usr/lib/systemd/system/inadyn.service \ + ln -sf ../../../../usr/lib/systemd/system/inadyn.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/inadyn.service endef