aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/sysvinit
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:45 +0000
commit9ded366084f22f48ef72aa22acf6a38982d16d97 (patch)
tree37fd8e431d9b8948ddcc1b0e459fd6920cea544a /meta/recipes-core/sysvinit
parentb93eefd039a956b7d1d184592dd4342eb43f9341 (diff)
downloadopenembedded-core-contrib-9ded366084f22f48ef72aa22acf6a38982d16d97.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] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/sysvinit')
-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 655a0b067cb..1f400d9e556 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