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>
This commit is contained in:
parent
50574e41b8
commit
fbe8b3ce1f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue