Patchwork update-rc.d.bbclass: override UPDATERCD for nativesdk

login
register
mail settings
Submitter Bernhard Guillon
Date Dec. 15, 2011, 3:35 p.m.
Message ID <1323963338-21505-1-git-send-email-Bernhard.Guillon@hale.at>
Download mbox | patch
Permalink /patch/17035/
State Accepted
Commit bf10cc692491acd615b503779c44e6d7ab3ffe68
Headers show

Comments

Bernhard Guillon - Dec. 15, 2011, 3:35 p.m.
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>
---
 meta/classes/update-rc.d.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Richard Purdie - Dec. 16, 2011, 4:13 p.m.
On Thu, 2011-12-15 at 16:35 +0100, Bernhard Guillon wrote:
> 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>
> ---
>  meta/classes/update-rc.d.bbclass |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard

Patch

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"