diff options
author | Bernhard Guillon <Bernhard.Guillon@hale.at> | 2011-12-15 16:35:38 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-16 16:12:46 +0000 |
commit | 45d3f0c801256b4f26e96183a055a4383115df08 (patch) | |
tree | 6825cb770bd9a5e66e612f5a923994d056a22279 | |
parent | 08b7b9368c7aa01f7639412e17ce1f5a5eb4b780 (diff) | |
download | poky-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.bbclass | 2 |
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}" | |||
3 | DEPENDS_append = " update-rc.d-native" | 3 | DEPENDS_append = " update-rc.d-native" |
4 | UPDATERCD = "update-rc.d" | 4 | UPDATERCD = "update-rc.d" |
5 | UPDATERCD_virtclass-native = "" | 5 | UPDATERCD_virtclass-native = "" |
6 | UPDATERCD_virtclass-nativesdk = "" | ||
7 | |||
6 | RDEPENDS_${UPDATERCPN}_append = " ${UPDATERCD}" | 8 | RDEPENDS_${UPDATERCPN}_append = " ${UPDATERCD}" |
7 | 9 | ||
8 | INITSCRIPT_PARAMS ?= "defaults" | 10 | INITSCRIPT_PARAMS ?= "defaults" |