summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorbjörn Svensson <azoff@svenskalinuxforeningen.se>2019-11-02 16:42:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-05 10:36:19 +0000
commit7a84ef8effcbb4770b27f0af59d84db343d05701 (patch)
tree080139d440e24d3af1121616e628de723911fad6
parent10c3af7ad8b7bb369c84c60a717bcd1358861187 (diff)
downloadopenembedded-core-contrib-7a84ef8effcbb4770b27f0af59d84db343d05701.tar.gz
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. Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xmeta/recipes-core/psplash/files/psplash-init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/psplash/files/psplash-init b/meta/recipes-core/psplash/files/psplash-init
index dcb751907f..4bee866b0d 100755
--- a/meta/recipes-core/psplash/files/psplash-init
+++ b/meta/recipes-core/psplash/files/psplash-init
@@ -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