diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-11-14 17:52:13 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-12 17:00:18 +0000 |
commit | fbe8b3ce1f8ce174708f5a8c329c3fd85acac885 (patch) | |
tree | 32be8c647aadc672adc33c735ab6c342c9331f95 /meta/recipes-core | |
parent | 50574e41b882c3f2633f69486593eaea54d8e554 (diff) | |
download | poky-fbe8b3ce1f8ce174708f5a8c329c3fd85acac885.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]
(From OE-Core master rev: 9ded366084f22f48ef72aa22acf6a38982d16d97)
(From OE-Core rev: 8c3e3c90daee1639ac8b2633d8f1e500697d9c52)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rwxr-xr-x | meta/recipes-core/sysvinit/sysvinit/rc | 2 |
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() { | |||
174 | if [ "x$runlevel" != "xS" ] && [ ! -x /etc/rc${runlevel}.d/S??xserver-nodm ]; then | 174 | if [ "x$runlevel" != "xS" ] && [ ! -x /etc/rc${runlevel}.d/S??xserver-nodm ]; then |
175 | if type psplash-write >/dev/null 2>&1; then | 175 | if type psplash-write >/dev/null 2>&1; then |
176 | TMPDIR=/mnt/.psplash psplash-write "QUIT" || true | 176 | TMPDIR=/mnt/.psplash psplash-write "QUIT" || true |
177 | umount /mnt/.psplash | 177 | umount -l /mnt/.psplash |
178 | fi | 178 | fi |
179 | fi | 179 | fi |