From: Torbjörn Svensson Date: Sat, 2 Nov 2019 15:42:39 +0000 (+0100) Subject: psplash: Do mount psplash tmpfs if not mounted X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~12850 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a84ef8effcbb4770b27f0af59d84db343d05701;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/psplash/files/psplash-init b/meta/recipes-core/psplash/files/psplash-init index dcb751907f4..4bee866b0dd 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