summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-26 08:05:43 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-26 09:14:30 +0100
commitd9411412d2cc3ae13cb72227c6513202935012af (patch)
treef5d8afdef1ed91b78440813afb2f938800fa13d0
parente9804c7dc98ca340361833f20c823843ba2a3cf3 (diff)
downloadpoky-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>
-rw-r--r--meta/classes/update-rc.d.bbclass2
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 @@
1UPDATERCPN ?= "${PN}" 1UPDATERCPN ?= "${PN}"
2 2
3DEPENDS_append = " update-rc.d-native update-rc.d" 3DEPENDS_append_class-target = " update-rc.d-native update-rc.d"
4VIRTUAL-RUNTIME_initscripts ?= "initscripts" 4VIRTUAL-RUNTIME_initscripts ?= "initscripts"
5DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}" 5DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}"
6UPDATERCD = "update-rc.d" 6UPDATERCD = "update-rc.d"