summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJonathan Bauer2011-12-05 17:48:13 +0100
committerJonathan Bauer2011-12-05 17:48:13 +0100
commitf8c9d2eed804ee4ce86b65c3fb4cacb81bad3322 (patch)
tree9100c039c4e05a01584b315056b48f5f7813c27b /src
parentplymouth: only start when debuglevel = 0 (diff)
downloadcore-f8c9d2eed804ee4ce86b65c3fb4cacb81bad3322.tar.gz
core-f8c9d2eed804ee4ce86b65c3fb4cacb81bad3322.tar.xz
core-f8c9d2eed804ee4ce86b65c3fb4cacb81bad3322.zip
plymouth: fix flickers
Diffstat (limited to 'src')
-rw-r--r--src/os-plugins/plugins/plymouth/XX_plymouth.sh4
-rw-r--r--src/os-plugins/plugins/plymouth/init-hooks/40-started-hw-config/plymouth.sh3
-rw-r--r--src/os-plugins/plugins/plymouth/init-hooks/95-handing-over/plymouth.sh4
3 files changed, 8 insertions, 3 deletions
diff --git a/src/os-plugins/plugins/plymouth/XX_plymouth.sh b/src/os-plugins/plugins/plymouth/XX_plymouth.sh
index f9927eae..f1b99511 100644
--- a/src/os-plugins/plugins/plymouth/XX_plymouth.sh
+++ b/src/os-plugins/plugins/plymouth/XX_plymouth.sh
@@ -21,9 +21,9 @@ if [ -e /initramfs/plugin-conf/plymouth.conf ]; then
if [ -f /mnt/etc/init/kdm.conf ];
then
- sed 's/exec kdm/plymouth quit \n exec kdm/g' -i /mnt/etc/init/kdm.conf
+ sed 's/exec kdm/$(sleep 0.5 \&\& plymouth quit) \&\n exec kdm/g' -i /mnt/etc/init/kdm.conf
else
- sed 's/exec kdm/plymouth quit \n exec kdm/g' -i /mnt/etc/init.inactive/kdm.conf
+ sed 's/exec kdm/$(sleep 0.5 \&\& plymouth quit) \&\n exec kdm/g' -i /mnt/etc/init.inactive/kdm.conf
fi
[ $DEBUGLEVEL -gt 0 ] && echo "done with the 'plymouth' plugin...";
fi
diff --git a/src/os-plugins/plugins/plymouth/init-hooks/40-started-hw-config/plymouth.sh b/src/os-plugins/plugins/plymouth/init-hooks/40-started-hw-config/plymouth.sh
index 19c26862..54a86774 100644
--- a/src/os-plugins/plugins/plymouth/init-hooks/40-started-hw-config/plymouth.sh
+++ b/src/os-plugins/plugins/plymouth/init-hooks/40-started-hw-config/plymouth.sh
@@ -1,4 +1,5 @@
# only start with no debug level
if [ $DEBUGLEVEL -eq 0 ]; then
- plymouthd && plymouth show-splash
+ /sbin/plymouthd --mode=boot --attach-to-session
+ /bin/plymouth show-splash
fi
diff --git a/src/os-plugins/plugins/plymouth/init-hooks/95-handing-over/plymouth.sh b/src/os-plugins/plugins/plymouth/init-hooks/95-handing-over/plymouth.sh
new file mode 100644
index 00000000..d7f27411
--- /dev/null
+++ b/src/os-plugins/plugins/plymouth/init-hooks/95-handing-over/plymouth.sh
@@ -0,0 +1,4 @@
+# only start with no debug level
+if [ $DEBUGLEVEL -eq 0 ]; then
+ /bin/plymouth update-root-fs --new-root-dir=/mnt
+fi