summaryrefslogtreecommitdiffstats
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:46 +0000
commit45d3f0c801256b4f26e96183a055a4383115df08 (patch)
tree6825cb770bd9a5e66e612f5a923994d056a22279
parent08b7b9368c7aa01f7639412e17ce1f5a5eb4b780 (diff)
downloadpoky-45d3f0c801256b4f26e96183a055a4383115df08.tar.gz
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. (From OE-Core rev: bf10cc692491acd615b503779c44e6d7ab3ffe68) Signed-off-by: Bernhard Guillon <Bernhard.Guillon@hale.at> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 cba44d688f..e72cf7835f 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -3,6 +3,8 @@ UPDATERCPN ?= "${PN}"
3DEPENDS_append = " update-rc.d-native" 3DEPENDS_append = " update-rc.d-native"
4UPDATERCD = "update-rc.d" 4UPDATERCD = "update-rc.d"
5UPDATERCD_virtclass-native = "" 5UPDATERCD_virtclass-native = ""
6UPDATERCD_virtclass-nativesdk = ""
7
6RDEPENDS_${UPDATERCPN}_append = " ${UPDATERCD}" 8RDEPENDS_${UPDATERCPN}_append = " ${UPDATERCD}"
7 9
8INITSCRIPT_PARAMS ?= "defaults" 10INITSCRIPT_PARAMS ?= "defaults"