add psplash

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@770 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2006-09-28 14:20:06 +00:00
parent f27a0caa85
commit b462c8bee5
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/sh
export TMPDIR=/mnt/.psplash
mount tmpfs -t tmpfs $TMPDIR -o,size=40k
/usr/bin/psplash &

View File

@@ -0,0 +1,22 @@
DESCRIPTION = "Userspace framebuffer boot logo based on usplash."
SECTION = "base"
MAINTAINER = "Matthew Allum <mallum@openedhand.com>"
LICENSE = "GPL"
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 ."