From 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf Mon Sep 17 00:00:00 2001 From: takeshi_hoshina Date: Mon, 2 Nov 2020 11:07:33 +0900 Subject: basesystem-jj recipes --- external/poky/meta/recipes-core/psplash/files/psplash-init | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'external/poky/meta/recipes-core/psplash/files/psplash-init') diff --git a/external/poky/meta/recipes-core/psplash/files/psplash-init b/external/poky/meta/recipes-core/psplash/files/psplash-init index 0bce1de5..f58e0437 100755 --- a/external/poky/meta/recipes-core/psplash/files/psplash-init +++ b/external/poky/meta/recipes-core/psplash/files/psplash-init @@ -23,8 +23,11 @@ for x in $CMDLINE; do esac done -export TMPDIR=/mnt/.psplash -mount tmpfs -t tmpfs $TMPDIR -o,size=40k +export PSPLASH_FIFO_DIR=/mnt/.psplash +[ -d $PSPLASH_FIFO_DIR ] || mkdir -p $PSPLASH_FIFO_DIR +if ! mountpoint -q $PSPLASH_FIFO_DIR; then + mount tmpfs -t tmpfs $PSPLASH_FIFO_DIR -o,size=40k +fi rotation=0 if [ -e /etc/rotation ]; then -- cgit 1.2.3-korg