[OE-core] [PATCH] update-rc.d.bbclass: override UPDATERCD for nativesdk

Bernhard Guillon Bernhard.Guillon at hale.at
Thu Dec 15 15:35:38 UTC 2011


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 at hale.at>
---
 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 492c5fb..304decf 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"
-- 
1.7.1



--
Scanned by MailScanner.





More information about the Openembedded-core mailing list