summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2009-06-13 15:44:35 +0100
committerPhil Blundell <philb@gnu.org>2009-06-13 15:44:35 +0100
commitee690abcef0df80271729ca869f19164b1c15bbe (patch)
tree4107f30739650606283c3284382294923bdda033 /classes
parent40d0c33b4a04347130fa9dba38f5287744a7f67a (diff)
update-rc.d: don't add runtime dependency if not doing online package management; only add it to ${PN} in any case.
Diffstat (limited to 'classes')
-rw-r--r--classes/update-rc.d.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/update-rc.d.bbclass b/classes/update-rc.d.bbclass
index 6328193bb9..91af859392 100644
--- a/classes/update-rc.d.bbclass
+++ b/classes/update-rc.d.bbclass
@@ -1,5 +1,5 @@
DEPENDS_append = " update-rc.d"
-RDEPENDS_append = " update-rc.d"
+RDEPENDS_${PN}_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
INITSCRIPT_PARAMS ?= "defaults"