[oe-commits] Saul Wold : sysvinit: unmount the psplash lazyily

git at git.openembedded.org git at git.openembedded.org
Wed Nov 20 11:09:40 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 9ded366084f22f48ef72aa22acf6a38982d16d97
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9ded366084f22f48ef72aa22acf6a38982d16d97

Author: Saul Wold <sgw at linux.intel.com>
Date:   Thu Nov 14 17:52:13 2013 -0800

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 at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 655a0b0..1f400d9 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



More information about the Openembedded-commits mailing list