aboutsummaryrefslogtreecommitdiffstats
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:09:29 +0100
commit270a1716b02981aad353c266d3d19735fc85cf10 (patch)
tree2fcba125817c54bb5fffe5555df981bd396c605f
parent64c531282e756965365c742751846250a2c1d3f1 (diff)
downloadopenembedded-core-contrib-270a1716b02981aad353c266d3d19735fc85cf10.tar.gz
openembedded-core-contrib-270a1716b02981aad353c266d3d19735fc85cf10.tar.bz2
openembedded-core-contrib-270a1716b02981aad353c266d3d19735fc85cf10.zip
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). 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 7bdc0e2e727..6a08315d996 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -1,6 +1,6 @@
UPDATERCPN ?= "${PN}"
-DEPENDS_append = " update-rc.d-native update-rc.d"
+DEPENDS_append_class-target = " update-rc.d-native update-rc.d"
VIRTUAL-RUNTIME_initscripts ?= "initscripts"
DEPENDS_append_class-target = " ${VIRTUAL-RUNTIME_initscripts}"
UPDATERCD = "update-rc.d"