add update systemd service accepted/tizen/20130503.225628 accepted/tizen/20130520.100426 accepted/trunk/20130411.141847 submit/tizen/20130503.231738 submit/tizen/20130509.183410 submit/tizen/20130517.023829 submit/trunk/20130411.133407
authorWilliam Douglas <william.douglas@intel.com>
Thu, 11 Apr 2013 12:03:09 +0000 (05:03 -0700)
committerWilliam Douglas <william.douglas@intel.com>
Thu, 11 Apr 2013 13:33:09 +0000 (06:33 -0700)
Change-Id: Ia849af649434b728f3980a6fa90736d0a61f4219
Signed-off-by: William Douglas <william.douglas@intel.com>
configure.ac
systemd-units/Makefile.am
systemd-units/plymouth-update.service.in [new file with mode: 0644]

index f2a3ae4..8c5e2c3 100644 (file)
@@ -464,6 +464,7 @@ AC_CONFIG_FILES([Makefile
            systemd-units/plymouth-read-write.service
            systemd-units/plymouth-reboot.service
            systemd-units/plymouth-start.service
+           systemd-units/plymouth-update.service
            systemd-units/plymouth-switch-root.service
            systemd-units/systemd-ask-password-plymouth.path
            systemd-units/systemd-ask-password-plymouth.service
index 3aa44df..4dea729 100644 (file)
@@ -1,6 +1,7 @@
 systemd_unit_templates =                                                     \
         plymouth-switch-root.service.in                                      \
         plymouth-start.service.in                                            \
+        plymouth-update.service.in                                           \
         plymouth-read-write.service.in                                       \
         plymouth-quit.service.in                                             \
         plymouth-quit-wait.service.in                                        \
diff --git a/systemd-units/plymouth-update.service.in b/systemd-units/plymouth-update.service.in
new file mode 100644 (file)
index 0000000..7f33ee3
--- /dev/null
@@ -0,0 +1,12 @@
+[Unit]
+Description=Show Plymouth Update Screen
+DefaultDependencies=no
+After=systemd-vconsole-setup.service systemd-udev-trigger.service
+ConditionKernelCommandLine=!plymouth.enable=0
+
+[Service]
+ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=updates --pid-file=@plymouthruntimedir@/pid --attach-to-session
+ExecStartPost=-/usr/bin/udevadm settle --timeout=30 --exit-if-exists=/sys/class/drm/card0/dev ; /usr/bin/udevadm settle --timeout=30 --exit-if-exists=/sys/class/graphics/fb0/dev ; @PLYMOUTH_CLIENT_DIR@/plymouth show-splash ; @PLYMOUTH_CLIENT_DIR@/plymouth change-mode --updates
+Type=forking
+KillMode=none
+SendSIGKILL=no