summaryrefslogtreecommitdiff
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-12-12 16:53:08 +0000
commit8c3e3c90daee1639ac8b2633d8f1e500697d9c52 (patch)
treef24756f36e517250a0eaa0a9f4b578d6c4392331
parent213ba50b8a747e1489f03872339e3931a99963a4 (diff)
downloadopenembedded-core-8c3e3c90daee1639ac8b2633d8f1e500697d9c52.tar.gz
openembedded-core-8c3e3c90daee1639ac8b2633d8f1e500697d9c52.tar.bz2
openembedded-core-8c3e3c90daee1639ac8b2633d8f1e500697d9c52.zip
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 master rev: 9ded366084f22f48ef72aa22acf6a38982d16d97) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-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() {
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