[oe] [PATCH] slugos-image: fix opkg-cl hanging on installing device tables

Mike Westerhof mike at mwester.net
Mon May 10 02:12:21 UTC 2010


Henry von Tresckow wrote:
> opkg-cl was hanging during slugos image builds due to opkg-cl waiting for an answer for overwriting the device tables.
> adding " -force-defaults" to IPKG_ARGS allows the image to build

This is fixing a symptom, not the real problem.  I've just committed a
SlugOS-specific fix that dodges this problem, so I don't recommend we
apply this.  Specifically, we *do* want to know if we're overwriting a
config file while building the rootfs so that we can use a
PREFERRED_PROVIDER or similar mechanism to select the correct one.

The root cause is the original commit a week or two ago that incorrectly
changed the handling of the device_table file.

The "fix" I committed "backs out" one line of that bad commit in a
SlugOS-specific recipe -- which isn't a fix, but at least it gets SlugOS
building again, is no worse than things were originally, and it affects
no other distros.

-Mike (mwester)

> Signed-off-by: Henry von Tresckow <hvontres at gmail.com>
> ---
>  recipes/images/slugos-image.inc |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/recipes/images/slugos-image.inc b/recipes/images/slugos-image.inc
> index 6a4b7b9..809459c 100644
> --- a/recipes/images/slugos-image.inc
> +++ b/recipes/images/slugos-image.inc
> @@ -23,3 +23,5 @@ IMAGE_LINGUAS = ""
>  IMAGE_PREPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/?Image*;"
>  
>  inherit image
> +
> +IPKG_ARGS += " -force-default"
> \ No newline at end of file





More information about the Openembedded-devel mailing list