psplash: add psplash from poky
authorKoen Kooi <koen@openembedded.org>
Tue, 10 Oct 2006 22:44:27 +0000 (22:44 +0000)
committerKoen Kooi <koen@openembedded.org>
Tue, 10 Oct 2006 22:44:27 +0000 (22:44 +0000)
sane-srcdates: lock down psplash to today

conf/distro/include/sane-srcdates.inc
packages/psplash/.mtn2git_empty [new file with mode: 0644]
packages/psplash/files/.mtn2git_empty [new file with mode: 0644]
packages/psplash/files/psplash-init [new file with mode: 0644]
packages/psplash/psplash_svn.bb [new file with mode: 0644]

index fb753dc..a113220 100644 (file)
@@ -34,6 +34,7 @@ SRCDATE_matchbox-themes-extra ?= "20060612"
 SRCDATE_matchbox-wm ?= "20060612"
 SRCDATE_libmatchbox ?= "20060612"
 SRCDATE_libfakekey ?= "20051101"
+SRCDATE_psplash ?= "20061011"
 SRCDATE_zaurusd ?= "20060628"
 
 # GPE
diff --git a/packages/psplash/.mtn2git_empty b/packages/psplash/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/psplash/files/.mtn2git_empty b/packages/psplash/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/psplash/files/psplash-init b/packages/psplash/files/psplash-init
new file mode 100644 (file)
index 0000000..3a5cb65
--- /dev/null
@@ -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 (file)
index 0000000..f5e2195
--- /dev/null
@@ -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 ."