[Buildroot] [PATCH 2/5] psplash: move systemd service files to /usr/lib
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Apr 22 20:51:43 UTC 2015
Dear Mike Williams,
On Tue, 21 Apr 2015 13:50:35 -0400, Mike Williams wrote:
> Signed-off-by: Mike Williams <mike at 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list