mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 13:49:49 +00:00
psplash: Do mount psplash tmpfs if not mounted
The change in 5cea0448c5c75b9defc5fc2582e9b0c14e26a4e9 cases the following to be printed during boot: /etc/rcS.d/S00psplash.sh: line 28: [: -q: binary operator expected and the volume is thus never mounted, neither when invoked during boot nor shutdown/reboot. (From OE-Core rev: 7a84ef8effcbb4770b27f0af59d84db343d05701) Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d8fad5a810
commit
8ea756fbdc
@@ -25,7 +25,7 @@ done
|
||||
|
||||
export TMPDIR=/mnt/.psplash
|
||||
[ -d $TMPDIR ] || mkdir -p $TMPDIR
|
||||
if [ ! mountpoint -q $TMPDIR ]; then
|
||||
if ! mountpoint -q $TMPDIR; then
|
||||
mount tmpfs -t tmpfs $TMPDIR -o,size=40k
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user