From: Lennart Poettering Date: Sat, 30 Oct 2010 21:55:54 +0000 (+0200) Subject: units: add unit to call /bin/plymouth update-root-fs --read-write X-Git-Tag: v12~89 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=198b625ba70d4c0ff72c6bc9a110832bd028273d;p=systemd units: add unit to call /bin/plymouth update-root-fs --read-write --- diff --git a/Makefile.am b/Makefile.am index 989514d3..03a6a4e5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -301,6 +301,7 @@ dist_systemunit_DATA += \ units/fedora/rc-local.service \ units/fedora/halt-local.service \ units/fedora/plymouth-start.service \ + units/fedora/plymouth-read-write.service \ units/fedora/plymouth-quit.service \ units/fedora/plymouth-reboot.service \ units/fedora/plymouth-kexec.service \ @@ -1183,13 +1184,14 @@ if TARGET_FEDORA ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ rm -f halt-local.service && \ $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) - ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ - rm -f plymouth-quit.service && \ - $(LN_S) ../plymouth-quit.service plymouth-quit.service ) ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \ - rm -f plymouth-start.service systemd-ask-password-plymouth.path && \ + rm -f plymouth-start.service systemd-ask-password-plymouth.path plymouth-read-write.service && \ $(LN_S) ../plymouth-start.service plymouth-start.service && \ + $(LN_S) ../plymouth-read-write.service plymouth-read-write.service && \ $(LN_S) ../systemd-ask-password-plymouth.path systemd-ask-password-plymouth.path ) + ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ + rm -f plymouth-quit.service && \ + $(LN_S) ../plymouth-quit.service plymouth-quit.service ) ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \ rm -f plymouth-reboot.service && \ $(LN_S) ../plymouth-reboot.service plymouth-reboot.service ) diff --git a/units/fedora/plymouth-read-write.service b/units/fedora/plymouth-read-write.service new file mode 100644 index 00000000..ff2f8e44 --- /dev/null +++ b/units/fedora/plymouth-read-write.service @@ -0,0 +1,16 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. + +[Unit] +Description=Tell Plymouth To Write Out Runtime Data +DefaultDependencies=no +After=local-fs.target +Before=basic.target + +[Service] +ExecStart=-/bin/plymouth update-root-fs --read-write +Type=oneshot