[oe] [PATCH] rootfs_ipk.bbclass: use force-defaults (Bug 5133)

Rolf Leggewie no2spam at nospam.arcornews.de
Tue Jun 9 04:45:37 UTC 2009


From: Rolf Leggewie <oe-devel at rolf.leggewie.biz>

Without -force-defaults, I currently cannot build any image because opkg hangs, waiting for
user input that of course never comes.

I'm explicitly not sure if this is the right way to fix this, but we should we fix it soon.

---
 classes/rootfs_ipk.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/rootfs_ipk.bbclass b/classes/rootfs_ipk.bbclass
index f5714bd..bdb4f57 100644
--- a/classes/rootfs_ipk.bbclass
+++ b/classes/rootfs_ipk.bbclass
@@ -8,7 +8,7 @@
 do_rootfs[depends] += "opkg-native:do_populate_staging ipkg-utils-native:do_populate_staging"
 do_rootfs[recrdeptask] += "do_package_write_ipk"
 
-IPKG_ARGS = "-f ${IPKGCONF_TARGET} -o ${IMAGE_ROOTFS} ${@base_conditional("PACKAGE_INSTALL_NO_DEPS", "1", "-nodeps", "", d)}"
+IPKG_ARGS = "-f ${IPKGCONF_TARGET} -force-defaults -o ${IMAGE_ROOTFS} ${@base_conditional("PACKAGE_INSTALL_NO_DEPS", "1", "-nodeps", "", d)}"
 
 PACKAGE_INSTALL_NO_DEPS ?= "0"
 
-- 
1.6.0.4





More information about the Openembedded-devel mailing list