* [PATCH] rootfs_ipk.bbclass: use force-defaults (Bug 5133)
@ 2009-06-09 4:45 Rolf Leggewie
2009-06-09 7:08 ` Koen Kooi
2009-06-09 7:45 ` Phil Blundell
0 siblings, 2 replies; 4+ messages in thread
From: Rolf Leggewie @ 2009-06-09 4:45 UTC (permalink / raw)
To: openembedded-devel; +Cc: Rolf Leggewie
From: Rolf Leggewie <oe-devel@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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] rootfs_ipk.bbclass: use force-defaults (Bug 5133)
2009-06-09 4:45 [PATCH] rootfs_ipk.bbclass: use force-defaults (Bug 5133) Rolf Leggewie
@ 2009-06-09 7:08 ` Koen Kooi
2009-06-09 7:45 ` Phil Blundell
1 sibling, 0 replies; 4+ messages in thread
From: Koen Kooi @ 2009-06-09 7:08 UTC (permalink / raw)
To: openembedded-devel
On 09-06-09 06:45, Rolf Leggewie wrote:
> From: Rolf Leggewie<oe-devel@rolf.leggewie.biz>
>
> Without -force-defaults, I currently cannot build any image because opkg hangs, waiting for
> user input that of course never comes.
If opkg expects input during offline installation, the packages are
buggy and we should fix the offending recipes.
regards,
Koen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] rootfs_ipk.bbclass: use force-defaults (Bug 5133)
2009-06-09 4:45 [PATCH] rootfs_ipk.bbclass: use force-defaults (Bug 5133) Rolf Leggewie
2009-06-09 7:08 ` Koen Kooi
@ 2009-06-09 7:45 ` Phil Blundell
2009-06-09 7:57 ` Andrea Adami
1 sibling, 1 reply; 4+ messages in thread
From: Phil Blundell @ 2009-06-09 7:45 UTC (permalink / raw)
To: openembedded-devel; +Cc: Rolf Leggewie
On Tue, 2009-06-09 at 13:45 +0900, Rolf Leggewie wrote:
> From: Rolf Leggewie <oe-devel@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.
In theory this patch oughtn't to be necessary, in that opkg shouldn't be
asking for user input unless there is something wrong with the packages
it's trying to install (i.e. overlapping contents). So, the "right" way
to fix the underlying issue is to address whatever is wrong with the
packages.
However, no matter how broken the packages are, it clearly isn't
desirable for opkg to hang indefinitely and your patch seems like it
should indeed stop that from happening. So yes, please go ahead and
check it in.
p.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] rootfs_ipk.bbclass: use force-defaults (Bug 5133)
2009-06-09 7:45 ` Phil Blundell
@ 2009-06-09 7:57 ` Andrea Adami
0 siblings, 0 replies; 4+ messages in thread
From: Andrea Adami @ 2009-06-09 7:57 UTC (permalink / raw)
To: openembedded-devel
I suppose is the missing PREFERRED_PROVIDER.
In my case angstrom-opie-image installs bluez4 in rootfs but opkc-cl
is waiting input about bluez3 upgrade...
http://tinderbox.openembedded.net/public/logs/5832846.txt
After 30 mins I killed the process but don't have here the stdout...
Andrea
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-09 8:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09 4:45 [PATCH] rootfs_ipk.bbclass: use force-defaults (Bug 5133) Rolf Leggewie
2009-06-09 7:08 ` Koen Kooi
2009-06-09 7:45 ` Phil Blundell
2009-06-09 7:57 ` Andrea Adami
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.