psplash: move systemd service files to /usr/lib

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Mike Williams 2015-04-21 13:50:35 -04:00 committed by Thomas Petazzoni
parent fb5cbf3198
commit 38ca883965

View File

@ -11,15 +11,15 @@ PSPLASH_AUTORECONF = YES
define PSPLASH_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/psplash/psplash-start.service \
$(TARGET_DIR)/etc/systemd/system/psplash-start.service
$(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
ln -sf ../psplash-start.service \
ln -sf ../../../../usr/lib/systemd/system/psplash-start.service \
$(TARGET_DIR)/etc/systemd/system/sysinit.target.wants/
$(INSTALL) -D -m 644 package/psplash/psplash-quit.service \
$(TARGET_DIR)/etc/systemd/system/psplash-quit.service
$(TARGET_DIR)/usr/lib/systemd/system/psplash-quit.service
$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
ln -sf ../psplash-quit.service \
ln -sf ../../../../usr/lib/systemd/system/psplash-quit.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
endef