summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-11-14 17:52:13 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-18 13:03:58 +0000
commitf9729f473d60d126723f212f289c8e553f4dfa02 (patch)
tree256ccc99bb6181433e9640ada62e98f1ed13987e
parentb0281b3a190dec6502b4abc6a5b14ae46243f913 (diff)
downloadpoky-f9729f473d60d126723f212f289c8e553f4dfa02.tar.gz
sysvinit: unmount the psplash lazyily
There is an race condition where psplash is not quite exited before the unmount occurs causing a umount: /mnt/.psplash: target is busy message to appear, it's ok to lazyily unmount and not get this message [YOCTO #5244] (From OE-Core rev: 9ded366084f22f48ef72aa22acf6a38982d16d97) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xmeta/recipes-core/sysvinit/sysvinit/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/sysvinit/sysvinit/rc b/meta/recipes-core/sysvinit/sysvinit/rc
index 655a0b067c..1f400d9e55 100755
--- a/meta/recipes-core/sysvinit/sysvinit/rc
+++ b/meta/recipes-core/sysvinit/sysvinit/rc
@@ -174,6 +174,6 @@ startup() {
174if [ "x$runlevel" != "xS" ] && [ ! -x /etc/rc${runlevel}.d/S??xserver-nodm ]; then 174if [ "x$runlevel" != "xS" ] && [ ! -x /etc/rc${runlevel}.d/S??xserver-nodm ]; then
175 if type psplash-write >/dev/null 2>&1; then 175 if type psplash-write >/dev/null 2>&1; then
176 TMPDIR=/mnt/.psplash psplash-write "QUIT" || true 176 TMPDIR=/mnt/.psplash psplash-write "QUIT" || true
177 umount /mnt/.psplash 177 umount -l /mnt/.psplash
178 fi 178 fi
179fi 179fi