[OE-core] [PATCH 2/3] run-postinsts: can't be allarch

Robert Yang liezhi.yang at windriver.com
Thu Jan 7 07:45:23 UTC 2016


The dependencies chain:
run-postinsts -> update-rc.d.bbclass -> initscripts -> update-alternatives.

The update-alternatives is provided by opkg-utils which is not allarch.

This caused a problem:
$ bitbake lib32-core-image-minimal

Both lib32-opkg-utils and opkg-utils would be built, but opkg-utils
shouldn't, this patch can fix the problem.

[YOCTO #8879]

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 .../run-postinsts/run-postinsts_1.0.bb             |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
index 11c94e5..6b4290c 100644
--- a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
@@ -11,7 +11,7 @@ SRC_URI = "file://run-postinsts \
 
 S = "${WORKDIR}"
 
-inherit allarch systemd update-rc.d
+inherit systemd update-rc.d
 
 INITSCRIPT_NAME = "run-postinsts"
 INITSCRIPT_PARAMS = "start 99 S ."
-- 
1.7.9.5




More information about the Openembedded-core mailing list