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 <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Maxime Hadjinlian
2015-07-13 21:06:30 +02:00
committed by Thomas Petazzoni
parent 7706f2b2b1
commit 03663adb82
4 changed files with 4 additions and 4 deletions

View 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