[oe-commits] John Lee : xserver-nodm-init.bb: fix wrong usage of update-rc.d.bbclass

GIT User account git at amethyst.openembedded.net
Wed Dec 17 12:56:44 UTC 2008


Module: openembedded.git
Branch: john_lee/openmoko-merges
Commit: 72deb5e5454f68f6fe824a9599f562284e42dd65
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=72deb5e5454f68f6fe824a9599f562284e42dd65

Author: John Lee <john_lee at openmoko.com>
Date:   Tue Nov 25 03:52:09 2008 +0800

xserver-nodm-init.bb: fix wrong usage of update-rc.d.bbclass

	Should use override ${PN} first

---

 .../xserver-kdrive-common/xserver-nodm-init.bb     |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/xserver-kdrive-common/xserver-nodm-init.bb b/packages/xserver-kdrive-common/xserver-nodm-init.bb
index 9f4b0be..ccec09f 100644
--- a/packages/xserver-kdrive-common/xserver-nodm-init.bb
+++ b/packages/xserver-kdrive-common/xserver-nodm-init.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)"
 LICENSE = "GPL"
 SECTION = "x11"
 PRIORITY = "optional"
-PR = "r9.2"
+PR = "r9.3"
 
 SRC_URI = "file://xserver-nodm"
 S = ${WORKDIR}
@@ -23,7 +23,7 @@ INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."
 # start earlier under the assumption that xserver takes seconds to start
 INITSCRIPT_PARAMS_openmoko = "start 5 5 2 . stop 20 0 1 6 ."
 
-pkg_postinst_${PN}_openmoko () {
+pkg_postinst_openmoko_${PN} () {
 if test "x$D" = "x"; then
 	for f in `ls /etc/rc?.d/S99${INITSCRIPT_NAME} 2>/dev/null`; do
 		mv $f `dirname $f`/S05${INITSCRIPT_NAME}





More information about the Openembedded-commits mailing list