update-rc.d: don't add runtime dependency if not doing online package management...
authorPhil Blundell <philb@gnu.org>
Sat, 13 Jun 2009 14:44:35 +0000 (15:44 +0100)
committerPhil Blundell <philb@gnu.org>
Sat, 13 Jun 2009 14:44:35 +0000 (15:44 +0100)
classes/update-rc.d.bbclass

index 6328193..91af859 100644 (file)
@@ -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"