From bf10cc692491acd615b503779c44e6d7ab3ffe68 Mon Sep 17 00:00:00 2001 From: Bernhard Guillon Date: Thu, 15 Dec 2011 16:35:38 +0100 Subject: update-rc.d.bbclass: override UPDATERCD for nativesdk Override UPDATERCD for nativesdk. Without, update-rc.d is installed to /usr/sbin/update-rc.d with meta-toolchain if nativesdk recipe inherits update-rc.d. An example recipe for this is dbus. Signed-off-by: Bernhard Guillon Signed-off-by: Richard Purdie --- meta/classes/update-rc.d.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes/update-rc.d.bbclass') diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index cba44d688..e72cf7835 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass @@ -3,6 +3,8 @@ UPDATERCPN ?= "${PN}" DEPENDS_append = " update-rc.d-native" UPDATERCD = "update-rc.d" UPDATERCD_virtclass-native = "" +UPDATERCD_virtclass-nativesdk = "" + RDEPENDS_${UPDATERCPN}_append = " ${UPDATERCD}" INITSCRIPT_PARAMS ?= "defaults" -- cgit v1.2.3