summaryrefslogtreecommitdiff
path: root/meta/classes/update-rc.d.bbclass
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2014-06-06 18:57:34 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-10 17:23:58 +0100
commit8b4256758ba55dcabe80dd1bf3884cdf1cc39909 (patch)
tree4313a2b4a4fbd73c4c6d2ead6f1a8719354003e4 /meta/classes/update-rc.d.bbclass
parent2461336b9432cf8379bda19d425ba00e542fbab7 (diff)
downloadopenembedded-core-8b4256758ba55dcabe80dd1bf3884cdf1cc39909.tar.gz
openembedded-core-8b4256758ba55dcabe80dd1bf3884cdf1cc39909.tar.bz2
openembedded-core-8b4256758ba55dcabe80dd1bf3884cdf1cc39909.zip
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>
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
-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 ca9486b426..19b081d235 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 = ""