[oe-commits] org.oe.dev packages/psplash: added psplash-zap package with initscript to quit psplash before going for login prompt on console image.

polyonymous commit openembedded-commits at lists.openembedded.org
Mon May 7 22:07:43 UTC 2007


packages/psplash: added psplash-zap package with initscript to quit psplash before going for login prompt on console image.

Author: polyonymous at openembedded.org
Branch: org.openembedded.dev
Revision: 286d8ee2c38edf94f1b45998c25e3192c5c2f33f
ViewMTN: http://monotone.openembedded.org/revision.psp?id=286d8ee2c38edf94f1b45998c25e3192c5c2f33f
Files:
1
packages/psplash/files/zzapsplash-init
packages/psplash/psplash-zap_1.0.bb
Diffs:

#
# mt diff -r648c7b46800154748da9d4859ca98d684dc82b66 -r286d8ee2c38edf94f1b45998c25e3192c5c2f33f
#
# 
# 
# add_file "packages/psplash/files/zzapsplash-init"
#  content [cb2c4cb82afdb670e9fc57fdd9e29c913df0c957]
# 
# add_file "packages/psplash/psplash-zap_1.0.bb"
#  content [29f05db188884dec7530cadbb3c94517a5285c12]
# 
============================================================
--- packages/psplash/files/zzapsplash-init	cb2c4cb82afdb670e9fc57fdd9e29c913df0c957
+++ packages/psplash/files/zzapsplash-init	cb2c4cb82afdb670e9fc57fdd9e29c913df0c957
@@ -0,0 +1,4 @@
+#!/bin/sh
+TMPDIR=/mnt/.psplash psplash-write "QUIT" || true
+sleep 1
+umount /mnt/.psplash >/dev/null 2>/dev/null
============================================================
--- packages/psplash/psplash-zap_1.0.bb	29f05db188884dec7530cadbb3c94517a5285c12
+++ packages/psplash/psplash-zap_1.0.bb	29f05db188884dec7530cadbb3c94517a5285c12
@@ -0,0 +1,13 @@
+
+SRC_URI = "file://zzapsplash-init"
+
+do_install_prepend() {
+	install -d "${D}${sysconfdir}/init.d/"
+	install -m 0755 "${WORKDIR}/zzapsplash-init" "${D}${sysconfdir}/init.d/zzapsplash"
+}
+
+inherit update-rc.d
+
+INITSCRIPT_NAME = "zzapsplash"
+INITSCRIPT_PARAMS = "start 99 5 S ."
+






More information about the Openembedded-commits mailing list