summaryrefslogtreecommitdiff
path: root/meta/classes/update-rc.d.bbclass
diff options
context:
space:
mode:
authorBernhard Guillon <Bernhard.Guillon@hale.at>2011-12-15 16:35:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-16 16:12:41 +0000
commitbf10cc692491acd615b503779c44e6d7ab3ffe68 (patch)
tree364414554c50ed51a2b012788bfe506824e004d7 /meta/classes/update-rc.d.bbclass
parentb23ab297906d7241d737f7c5e81c674deca45e32 (diff)
downloadopenembedded-core-bf10cc692491acd615b503779c44e6d7ab3ffe68.tar.gz
openembedded-core-bf10cc692491acd615b503779c44e6d7ab3ffe68.tar.bz2
openembedded-core-bf10cc692491acd615b503779c44e6d7ab3ffe68.tar.xz
openembedded-core-bf10cc692491acd615b503779c44e6d7ab3ffe68.zip
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 <Bernhard.Guillon@hale.at> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
-rw-r--r--meta/classes/update-rc.d.bbclass2
1 files changed, 2 insertions, 0 deletions
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"