Message ID | 1429638638-28695-3-git-send-email-mike@mikebwilliams.com |
---|---|
State | Accepted |
Headers | show |
Dear Mike Williams, On Tue, 21 Apr 2015 13:50:35 -0400, Mike Williams wrote: > Signed-off-by: Mike Williams <mike@mikebwilliams.com> > --- > package/psplash/psplash.mk | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk > index 5901547..85c0fb8 100644 > --- a/package/psplash/psplash.mk > +++ b/package/psplash/psplash.mk > @@ -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/ We usually use a full destination path here. > > $(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/ And here. Nonetheless, I've applied the patch as is, I'll let you decide in which direction the systemd service installation commands should be made consistent across packages. Thanks, Thomas
diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk index 5901547..85c0fb8 100644 --- a/package/psplash/psplash.mk +++ b/package/psplash/psplash.mk @@ -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
Signed-off-by: Mike Williams <mike@mikebwilliams.com> --- package/psplash/psplash.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)