diff options
author | Torbjörn Svensson <azoff@svenskalinuxforeningen.se> | 2019-11-02 16:42:39 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-05 10:37:11 +0000 |
commit | 8ea756fbdc653b7863a1c0f8b31278c019aadc63 (patch) | |
tree | 9681608da4eebb0387e27a33e90c20118712ecf4 | |
parent | d8fad5a81078847c5ab8cb336cfdf8fa3b321c17 (diff) | |
download | poky-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>
-rwxr-xr-x | meta/recipes-core/psplash/files/psplash-init | 2 |
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 | ||
26 | export TMPDIR=/mnt/.psplash | 26 | export TMPDIR=/mnt/.psplash |
27 | [ -d $TMPDIR ] || mkdir -p $TMPDIR | 27 | [ -d $TMPDIR ] || mkdir -p $TMPDIR |
28 | if [ ! mountpoint -q $TMPDIR ]; then | 28 | if ! mountpoint -q $TMPDIR; then |
29 | mount tmpfs -t tmpfs $TMPDIR -o,size=40k | 29 | mount tmpfs -t tmpfs $TMPDIR -o,size=40k |
30 | fi | 30 | fi |
31 | 31 | ||