From: Ray Strode Date: Wed, 13 Mar 2013 14:24:14 +0000 (-0400) Subject: systemd: add plymouth-start.service to initrd-switch-root.target X-Git-Tag: 0.9.0~99 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8be792a5a7914f742f188493df37c0e967f8e847;p=thirdparty%2Fplymouth.git systemd: add plymouth-start.service to initrd-switch-root.target halfline, can you add plymouth-start.service to plymouth-populate-initrd ?? haraldh: sure, can you give me details on the bug its fixing? except, if you put yourself out of the plymouth cgroup and the "@" in argv[0][0] better put plymouth-start.service in the initrd-switch-root.target easier well we already do the "@" in argv[0][0] and we already put KillMode=none SendSIGKILL=no in the service file but will add the change hmm, ok --- diff --git a/scripts/plymouth-populate-initrd.in b/scripts/plymouth-populate-initrd.in index d901a9b1..d25ab07e 100755 --- a/scripts/plymouth-populate-initrd.in +++ b/scripts/plymouth-populate-initrd.in @@ -432,6 +432,7 @@ if [ -n "$SYSTEMD_UNIT_DIR" -a -d "$SYSTEMD_UNIT_DIR" ]; then inst $SYSTEMD_UNIT_DIR/plymouth-halt.service $INITRDDIR inst $SYSTEMD_UNIT_DIR/initrd-switch-root.target.wants/plymouth-switch-root.service $INITRDDIR + inst $SYSTEMD_UNIT_DIR/initrd-switch-root.target.wants/plymouth-start.service $INITRDDIR inst $SYSTEMD_UNIT_DIR/sysinit.target.wants/plymouth-start.service $INITRDDIR inst $SYSTEMD_UNIT_DIR/multi-user.target.wants/plymouth-quit.service $INITRDDIR inst $SYSTEMD_UNIT_DIR/multi-user.target.wants/plymouth-quit-wait.service $INITRDDIR diff --git a/systemd-units/Makefile.am b/systemd-units/Makefile.am index 3aa44df3..89355ac0 100644 --- a/systemd-units/Makefile.am +++ b/systemd-units/Makefile.am @@ -25,7 +25,8 @@ install-data-hook: $(DESTDIR)$(SYSTEMD_UNIT_DIR)/poweroff.target.wants \ $(DESTDIR)$(SYSTEMD_UNIT_DIR)/halt.target.wants (cd $(DESTDIR)$(SYSTEMD_UNIT_DIR)/initrd-switch-root.target.wants && \ - rm -f plymouth-switch-root.service && \ + rm -f plymouth-start.service plymouth-switch-root.service && \ + $(LN_S) ../plymouth-start.service && \ $(LN_S) ../plymouth-switch-root.service) (cd $(DESTDIR)$(SYSTEMD_UNIT_DIR)/sysinit.target.wants && \ rm -f plymouth-start.service plymouth-read-write.service && \ @@ -51,7 +52,7 @@ install-data-hook: uninstall-hook: rm -f \ (cd $(DESTDIR)$(SYSTEMD_UNIT_DIR)/initrd-switch-root.target.wants && \ - rm -f plymouth-switch-root.service) \ + rm -f plymouth-start.service plymouth-switch-root.service) \ (cd $(DESTDIR)$(SYSTEMD_UNIT_DIR)/sysinit.target.wants && \ rm -f plymouth-start.service plymouth-read-write.service) \ (cd $(DESTDIR)$(SYSTEMD_UNIT_DIR)/multi-user.target.wants && \