diff options
Diffstat (limited to 'meta/packages/psplash')
-rwxr-xr-x | meta/packages/psplash/files/psplash-init | 7 | ||||
-rw-r--r-- | meta/packages/psplash/psplash_0.0.bb | 22 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta/packages/psplash/files/psplash-init b/meta/packages/psplash/files/psplash-init new file mode 100755 index 0000000000..b736cc6375 --- /dev/null +++ b/meta/packages/psplash/files/psplash-init | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | export TMPDIR=/mnt/.psplash | ||
4 | mount tmpfs -t tmpfs $TMPDIR -o,size=40k | ||
5 | |||
6 | /usr/bin/psplash & | ||
7 | |||
diff --git a/meta/packages/psplash/psplash_0.0.bb b/meta/packages/psplash/psplash_0.0.bb new file mode 100644 index 0000000000..a64b4c2b79 --- /dev/null +++ b/meta/packages/psplash/psplash_0.0.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | DESCRIPTION = "Userspace framebuffer boot logo based on usplash." | ||
2 | SECTION = "base" | ||
3 | MAINTAINER = "Matthew Allum <mallum@openedhand.com>" | ||
4 | LICENSE = "GPL" | ||
5 | |||
6 | SRC_URI = "svn://svn.o-hand.com/repos/misc/trunk;module=psplash;proto=http \ | ||
7 | file://psplash-init" | ||
8 | |||
9 | S = "${WORKDIR}/psplash" | ||
10 | |||
11 | inherit autotools pkgconfig update-rc.d | ||
12 | |||
13 | FILES_${PN} += "/mnt/.psplash" | ||
14 | |||
15 | do_install_prepend() { | ||
16 | install -d ${D}/mnt/.psplash/ | ||
17 | install -d ${D}${sysconfdir}/init.d/ | ||
18 | install -m 0755 ${WORKDIR}/psplash-init ${D}${sysconfdir}/init.d/psplash | ||
19 | } | ||
20 | |||
21 | INITSCRIPT_NAME = "psplash" | ||
22 | INITSCRIPT_PARAMS = "start 0 S . stop 20 0 1 6 ." | ||