mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
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 rev: 9ded366084f22f48ef72aa22acf6a38982d16d97) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b0281b3a19
commit
f9729f473d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user