update-rc.d.bbclass: add dependency on update-rc.d-native
authorRoman I Khimov <khimov@altell.ru>
Fri, 9 Apr 2010 14:45:08 +0000 (18:45 +0400)
committerDavid-John Willis <John.Willis@Distant-earth.com>
Wed, 21 Apr 2010 13:00:16 +0000 (14:00 +0100)
Recipes are using update-rc.d to do postinst and postinst scripts are being
ran on build hosts where native version is needed to run properly. It is
needed only at image build stage, but it's easier to have it in DEPENDS,
build time for it is almost zero anyway.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
classes/update-rc.d.bbclass

index b6491ed..4594d0f 100644 (file)
@@ -1,4 +1,4 @@
-DEPENDS_append = " update-rc.d"
+DEPENDS_append = " update-rc.d update-rc.d-native"
 RDEPENDS_${PN}_append = " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
 
 INITSCRIPT_PARAMS ?= "defaults"