diff mbox

[03/15] psplash: move systemd service files to /usr/lib

Message ID 1426787807-29510-4-git-send-email-mike@mikebwilliams.com
State Superseded
Headers show

Commit Message

Mike Williams March 19, 2015, 5:56 p.m. UTC
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
---
 package/psplash/psplash.mk | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Steven Noonan March 19, 2015, 7:55 p.m. UTC | #1
On Thu, Mar 19, 2015 at 10:56 AM, Mike Williams <mike@mikebwilliams.com> wrote:
> Signed-off-by: Mike Williams <mike@mikebwilliams.com>

Reviewed-by: Steven Noonan <steven@uplinklabs.net>

> ---
>  package/psplash/psplash.mk | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk
> index 5901547..866aa9f 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
> -       $(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
> -       ln -sf  ../psplash-start.service \
> +               $(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service
> +       $(INSTALL) -d $(TARGET_DIR)/usr/lib/systemd/system/sysinit.target.wants
> +       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
>
> --
> 2.1.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Samuel Martin March 20, 2015, 1:07 p.m. UTC | #2
On Thu, Mar 19, 2015 at 8:55 PM, Steven Noonan <steven@uplinklabs.net> wrote:
> On Thu, Mar 19, 2015 at 10:56 AM, Mike Williams <mike@mikebwilliams.com> wrote:
>> Signed-off-by: Mike Williams <mike@mikebwilliams.com>
>
> Reviewed-by: Steven Noonan <steven@uplinklabs.net>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>

Regards,
diff mbox

Patch

diff --git a/package/psplash/psplash.mk b/package/psplash/psplash.mk
index 5901547..866aa9f 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
-	$(INSTALL) -d $(TARGET_DIR)/etc/systemd/system/sysinit.target.wants
-	ln -sf  ../psplash-start.service \
+		$(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service
+	$(INSTALL) -d $(TARGET_DIR)/usr/lib/systemd/system/sysinit.target.wants
+	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