From fbe8b3ce1f8ce174708f5a8c329c3fd85acac885 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Thu, 14 Nov 2013 17:52:13 -0800 Subject: [PATCH] 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) (From OE-Core rev: 8c3e3c90daee1639ac8b2633d8f1e500697d9c52) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/recipes-core/sysvinit/sysvinit/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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