summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/recipes-core/psplash/files
diff options
context:
space:
mode:
Diffstat (limited to 'external/poky/meta/recipes-core/psplash/files')
-rwxr-xr-xexternal/poky/meta/recipes-core/psplash/files/psplash-init7
-rw-r--r--external/poky/meta/recipes-core/psplash/files/psplash-start.service12
-rw-r--r--external/poky/meta/recipes-core/psplash/files/psplash-systemd.service13
3 files changed, 30 insertions, 2 deletions
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
diff --git a/external/poky/meta/recipes-core/psplash/files/psplash-start.service b/external/poky/meta/recipes-core/psplash/files/psplash-start.service
new file mode 100644
index 00000000..36c2bb38
--- /dev/null
+++ b/external/poky/meta/recipes-core/psplash/files/psplash-start.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Start psplash boot splash screen
+DefaultDependencies=no
+RequiresMountsFor=/run
+
+[Service]
+Type=notify
+ExecStart=/usr/bin/psplash
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target
diff --git a/external/poky/meta/recipes-core/psplash/files/psplash-systemd.service b/external/poky/meta/recipes-core/psplash/files/psplash-systemd.service
new file mode 100644
index 00000000..082207f2
--- /dev/null
+++ b/external/poky/meta/recipes-core/psplash/files/psplash-systemd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Start psplash-systemd progress communication helper
+DefaultDependencies=no
+After=psplash-start.service
+Requires=psplash-start.service
+RequiresMountsFor=/run
+
+[Service]
+ExecStart=/usr/bin/psplash-systemd
+RemainAfterExit=yes
+
+[Install]
+WantedBy=sysinit.target