aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2014-06-06 18:57:34 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-06 14:48:50 +0000
commit1cda75706d63c988a0fa9945bd320b71c8e8488a (patch)
tree98955edd77514c30114f30dec882e1e666506ff5
parent926904f65db33aa7a6a54bd6cdc9c8b34f000b0d (diff)
downloadopenembedded-core-1cda75706d63c988a0fa9945bd320b71c8e8488a.zip
openembedded-core-1cda75706d63c988a0fa9945bd320b71c8e8488a.tar.gz
openembedded-core-1cda75706d63c988a0fa9945bd320b71c8e8488a.tar.bz2
update-rc.d: Allow to use different initscripts provider
* until now all recipes were respecting VIRTUAL-RUNTIME_initscripts variable but commit bba835fed88c3bd5bb5bd58962034aef57c408d8 hardcoded "initscripts" runtime dependency Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/classes/update-rc.d.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index e8debdf..2553afa 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -1,7 +1,8 @@
UPDATERCPN ?= "${PN}"
DEPENDS_append = " update-rc.d-native"
-DEPENDS_append_class-target = " initscripts"
+VIRTUAL-RUNTIME_initscripts ?= "initscripts"
+DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}"
UPDATERCD = "update-rc.d"
UPDATERCD_class-cross = ""
UPDATERCD_class-native = ""