summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"