diff options
Diffstat (limited to 'packages/psplash')
-rw-r--r-- | packages/psplash/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/psplash/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/psplash/files/psplash-init | 6 | ||||
-rw-r--r-- | packages/psplash/psplash_svn.bb | 23 |
4 files changed, 29 insertions, 0 deletions
diff --git a/packages/psplash/.mtn2git_empty b/packages/psplash/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/psplash/.mtn2git_empty diff --git a/packages/psplash/files/.mtn2git_empty b/packages/psplash/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/psplash/files/.mtn2git_empty diff --git a/packages/psplash/files/psplash-init b/packages/psplash/files/psplash-init new file mode 100644 index 0000000000..3a5cb653aa --- /dev/null +++ b/packages/psplash/files/psplash-init @@ -0,0 +1,6 @@ +#!/bin/sh + +export TMPDIR=/mnt/.psplash +mount tmpfs -t tmpfs $TMPDIR -o,size=40k + +/usr/bin/psplash & diff --git a/packages/psplash/psplash_svn.bb b/packages/psplash/psplash_svn.bb new file mode 100644 index 0000000000..f5e2195e82 --- /dev/null +++ b/packages/psplash/psplash_svn.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Userspace framebuffer boot logo based on usplash." +SECTION = "base" +LICENSE = "GPL" + +PV = "0.0+svn${SRCDATE}" + +SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \ + file://psplash-init" + +S = "${WORKDIR}/psplash" + +inherit autotools pkgconfig update-rc.d + +FILES_${PN} += "/mnt/.psplash" + +do_install_prepend() { + install -d ${D}/mnt/.psplash/ + install -d ${D}${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash +} + +INITSCRIPT_NAME = "psplash" +INITSCRIPT_PARAMS = "start 0 S . stop 20 0 1 6 ." |