diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2014-06-06 18:57:34 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-10 17:24:19 +0100 |
commit | f365b565902879ed9449a6f797f46a630061b153 (patch) | |
tree | 4e4bf86b37ddb097bb681a91ee760497d03eed0e | |
parent | 0ba1d79e76defcfe7199641b8716e2d2c9e31f8d (diff) | |
download | poky-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.bbclass | 3 |
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 @@ | |||
1 | UPDATERCPN ?= "${PN}" | 1 | UPDATERCPN ?= "${PN}" |
2 | 2 | ||
3 | DEPENDS_append = " update-rc.d-native" | 3 | DEPENDS_append = " update-rc.d-native" |
4 | DEPENDS_append_class-target = " initscripts" | 4 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" |
5 | DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}" | ||
5 | UPDATERCD = "update-rc.d" | 6 | UPDATERCD = "update-rc.d" |
6 | UPDATERCD_class-cross = "" | 7 | UPDATERCD_class-cross = "" |
7 | UPDATERCD_class-native = "" | 8 | UPDATERCD_class-native = "" |