From ebf04a4aa3865d7288e128764c90c0e547ef9b21 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Wed, 6 Nov 2013 13:41:13 +0100 Subject: [rootfs-stage31] fix plymouthd not finding its theme since we were not using the right prefix: changed "/mnt" to "$FUTURE_ROOT" --- remote/rootfs/rootfs-stage31/data/init | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init index 6ba3d01a..1dd0c108 100755 --- a/remote/rootfs/rootfs-stage31/data/init +++ b/remote/rootfs/rootfs-stage31/data/init @@ -53,8 +53,6 @@ for opts in ${KCL}; do case "${opts}" in debug=*) DEBUG=${opts#debug=} ;; - splash*) - SPLASH=1 ;; ip=*) # process IP info export IPINFO=${opts#ip=} ;; @@ -69,7 +67,7 @@ for opts in ${KCL}; do done # suppress kernel output if DEBUG is not set -[ $DEBUG -ge 1 ] && echo "0" >/proc/sys/kernel/printk || echo "4 4 1 7" >/proc/sys/kernel/printk +[ $DEBUG -ge 1 ] && echo "0" > /proc/sys/kernel/printk || echo "4 4 1 7" >/proc/sys/kernel/printk [ $DEBUG -ge 5 ] && drop_shell "Requested Debug Shell: before network." @@ -82,10 +80,10 @@ done [ $DEBUG -ge 3 ] && drop_shell "Requested Debug Shell: after network/before configuring." # start plymouth if activated -if [ "x$SPLASH" == "x1" -a "$DEBUG" -lt 1 ]; then +if [ $DEBUG -lt 1 ]; then echo "Starting plymouth..." # link the theming directory from the config to the current root - ln -sf /mnt/usr/share /usr/share + ln -sf "${FUTURE_ROOT}/usr/share" /usr/share plymouthd --kernel-command-line="splash" && plymouth show-splash fi -- cgit v1.2.3-55-g7522