[oe-commits] [openembedded-core] 05/13: psplash: Do mount psplash tmpfs if not mounted

git at git.openembedded.org git at git.openembedded.org
Tue Nov 5 10:37:55 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 7a84ef8effcbb4770b27f0af59d84db343d05701
Author: Torbjörn Svensson <azoff at svenskalinuxforeningen.se>
AuthorDate: Sat Nov 2 16:42:39 2019 +0100

    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 at svenskalinuxforeningen.se>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-core/psplash/files/psplash-init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/psplash/files/psplash-init b/meta/recipes-core/psplash/files/psplash-init
index dcb7519..4bee866 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
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list