From: Roman I Khimov Date: Fri, 9 Apr 2010 14:45:08 +0000 (+0400) Subject: update-rc.d.bbclass: add dependency on update-rc.d-native X-Git-Tag: Release-2010-05/1~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d77b545b0c7fa7b2daeea7632a2d8d5f2bfe8f2;p=openembedded.git update-rc.d.bbclass: add dependency on update-rc.d-native 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 --- diff --git a/classes/update-rc.d.bbclass b/classes/update-rc.d.bbclass index b6491ed9d6..4594d0f3b3 100644 --- a/classes/update-rc.d.bbclass +++ b/classes/update-rc.d.bbclass @@ -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"