diff options
-rw-r--r-- | meta/classes/update-rc.d.bbclass | 6 | ||||
-rw-r--r-- | meta/recipes-connectivity/gsm/gsmd.inc | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index 57137c60b4..684f6a8fda 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass @@ -1,5 +1,7 @@ +UPDATERCPN ?= "${PN}" + DEPENDS_append = " update-rc.d-native" -RDEPENDS_${PN}_append = " update-rc.d" +RDEPENDS_${UPDATERCPN}_append = " update-rc.d" INITSCRIPT_PARAMS ?= "defaults" @@ -69,7 +71,7 @@ python populate_packages_prepend () { pkgs = bb.data.getVar('INITSCRIPT_PACKAGES', d, 1) if pkgs == None: - pkgs = bb.data.getVar('PN', d, 1) + pkgs = bb.data.getVar('UPDATERCPN', d, 1) packages = (bb.data.getVar('PACKAGES', d, 1) or "").split() if not pkgs in packages and packages != []: pkgs = packages[0] diff --git a/meta/recipes-connectivity/gsm/gsmd.inc b/meta/recipes-connectivity/gsm/gsmd.inc index 9818188636..96de41ce4f 100644 --- a/meta/recipes-connectivity/gsm/gsmd.inc +++ b/meta/recipes-connectivity/gsm/gsmd.inc @@ -10,7 +10,7 @@ SECTION = "libs/gsm" PROVIDES += "gsmd" RPROVIDES_${PN} = "libgsmd0 libgsmd gsmd gsmd-devel" PV = "0.1+svnr${SRCREV}" -PR = "r0" +PR = "r2" SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \ file://fix_machine_init.patch;patch=1 \ @@ -19,10 +19,8 @@ SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \ S = "${WORKDIR}/gsm" inherit autotools pkgconfig update-rc.d -# handle update-rc.d RDEPENDS manually, we don't need it on -# anything but gsmd -RDEPENDS_append = "" +UPDATERCPN = "gsmd" INITSCRIPT_NAME = "gsmd" INITSCRIPT_PARAMS = "defaults 35" |