summaryrefslogtreecommitdiffstats
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:24:19 +0100
commitf365b565902879ed9449a6f797f46a630061b153 (patch)
tree4e4bf86b37ddb097bb681a91ee760497d03eed0e
parent0ba1d79e76defcfe7199641b8716e2d2c9e31f8d (diff)
downloadpoky-f365b565902879ed9449a6f797f46a630061b153.tar.gz
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 (From OE-Core rev: 8b4256758ba55dcabe80dd1bf3884cdf1cc39909) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 @@
1UPDATERCPN ?= "${PN}" 1UPDATERCPN ?= "${PN}"
2 2
3DEPENDS_append = " update-rc.d-native" 3DEPENDS_append = " update-rc.d-native"
4DEPENDS_append_class-target = " initscripts" 4VIRTUAL-RUNTIME_initscripts ?= "initscripts"
5DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}"
5UPDATERCD = "update-rc.d" 6UPDATERCD = "update-rc.d"
6UPDATERCD_class-cross = "" 7UPDATERCD_class-cross = ""
7UPDATERCD_class-native = "" 8UPDATERCD_class-native = ""