All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Westerhof <mike@mwester.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] slugos-image: fix opkg-cl hanging on installing device	tables
Date: Sun, 09 May 2010 21:12:21 -0500	[thread overview]
Message-ID: <4BE76B85.8070500@mwester.net> (raw)
In-Reply-To: <1273368260-12668-1-git-send-email-hvontres@gmail.com>

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@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




  parent reply	other threads:[~2010-05-10  2:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-09  1:24 [PATCH] slugos-image: fix opkg-cl hanging on installing device tables Henry von Tresckow
2010-05-09  2:00 ` Khem Raj
2010-05-09  2:36   ` Hans Henry von Tresckow
2010-05-10  2:12 ` Mike Westerhof [this message]
2010-05-10  3:30   ` Hans Henry von Tresckow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BE76B85.8070500@mwester.net \
    --to=mike@mwester.net \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.