diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-26 08:05:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-26 09:14:30 +0100 |
commit | d9411412d2cc3ae13cb72227c6513202935012af (patch) | |
tree | f5d8afdef1ed91b78440813afb2f938800fa13d0 /meta/classes/update-rc.d.bbclass | |
parent | e9804c7dc98ca340361833f20c823843ba2a3cf3 (diff) | |
download | poky-d9411412d2cc3ae13cb72227c6513202935012af.tar.gz |
updated-rc.d: Only add dependencies in target case
Avoid errors like:
ERROR: Nothing PROVIDES 'nativesdk-update-rc.d' (but virtual:nativesdk:dbus_1.8.18.bb
DEPENDS on or otherwise requires it).
(From OE-Core rev: 270a1716b02981aad353c266d3d19735fc85cf10)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/update-rc.d.bbclass')
-rw-r--r-- | meta/classes/update-rc.d.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index 7bdc0e2e72..6a08315d99 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass | |||
@@ -1,6 +1,6 @@ | |||
1 | UPDATERCPN ?= "${PN}" | 1 | UPDATERCPN ?= "${PN}" |
2 | 2 | ||
3 | DEPENDS_append = " update-rc.d-native update-rc.d" | 3 | DEPENDS_append_class-target = " update-rc.d-native update-rc.d" |
4 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" | 4 | VIRTUAL-RUNTIME_initscripts ?= "initscripts" |
5 | DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}" | 5 | DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}" |
6 | UPDATERCD = "update-rc.d" | 6 | UPDATERCD = "update-rc.d" |