From 2d77b545b0c7fa7b2daeea7632a2d8d5f2bfe8f2 Mon Sep 17 00:00:00 2001 From: Roman I Khimov Date: Fri, 9 Apr 2010 18:45:08 +0400 Subject: [PATCH] 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 --- classes/update-rc.d.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.5