package: Fix source path for systemd's service
authorMaxime Hadjinlian <maxime.hadjinlian@gmail.com>
Mon, 13 Jul 2015 19:06:30 +0000 (21:06 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 13 Jul 2015 20:27:39 +0000 (22:27 +0200)
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 <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/chrony/chrony.mk
package/dcron/dcron.mk
package/exim/exim.mk
package/inadyn/inadyn.mk

index f8012ac01f1b038a3fb7a57532e5f0aed8881d5c..72c4c4bb6c27535a9d4ad391c626c8297aca5d9a 100644 (file)
@@ -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
 
index 840471f5d2edce8c6db32601e7ae73cba76068fc..4a6fc47d6a333a88ae344906c9aa16925ff3beb6 100644 (file)
@@ -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
 
index d8f41b04d6ca29526288a8bf12b1f8d9652334b6..ed6a309972156c94e97fb2fea265bc4accf8f693 100644 (file)
@@ -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
 
index 5c3b0e3b55f36d9c34f0e5aacf2891181494fd33..8ceca4c352d185f2d8adddae7158323b04c8ecdc 100644 (file)
@@ -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