]> code.ossystems Code Review - openembedded-core.git/commitdiff
sysvinit: unmount the psplash lazyily
authorSaul Wold <sgw@linux.intel.com>
Fri, 15 Nov 2013 01:52:13 +0000 (17:52 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Nov 2013 13:03:45 +0000 (13:03 +0000)
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]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/sysvinit/sysvinit/rc

index 655a0b067cb1c8adfc09ac0290f19da80838e588..1f400d9e556cd65ef55502e35c0ae7846961d1f5 100755 (executable)
@@ -174,6 +174,6 @@ startup() {
 if [ "x$runlevel" != "xS" ] && [ ! -x /etc/rc${runlevel}.d/S??xserver-nodm ]; then
     if type psplash-write >/dev/null 2>&1; then
         TMPDIR=/mnt/.psplash psplash-write "QUIT" || true
-       umount /mnt/.psplash
+       umount -l /mnt/.psplash
     fi
 fi