summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/psplash
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:37:11 +0000
commit8ea756fbdc653b7863a1c0f8b31278c019aadc63 (patch)
tree9681608da4eebb0387e27a33e90c20118712ecf4 /meta/recipes-core/psplash
parentd8fad5a81078847c5ab8cb336cfdf8fa3b321c17 (diff)
downloadpoky-8ea756fbdc653b7863a1c0f8b31278c019aadc63.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. (From OE-Core rev: 7a84ef8effcbb4770b27f0af59d84db343d05701) Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/psplash')
-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
25 25
26export TMPDIR=/mnt/.psplash 26export TMPDIR=/mnt/.psplash
27[ -d $TMPDIR ] || mkdir -p $TMPDIR 27[ -d $TMPDIR ] || mkdir -p $TMPDIR
28if [ ! mountpoint -q $TMPDIR ]; then 28if ! mountpoint -q $TMPDIR; then
29 mount tmpfs -t tmpfs $TMPDIR -o,size=40k 29 mount tmpfs -t tmpfs $TMPDIR -o,size=40k
30fi 30fi
31 31