Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] utils/genrandconfig: check core-dependencies
Date: Thu, 8 Feb 2018 22:20:25 +0100	[thread overview]
Message-ID: <20180208222025.278396e0@windsurf.lan> (raw)
In-Reply-To: <20180206214059.9272-1-arnout@mind.be>

Hello,

On Tue, 6 Feb 2018 22:40:59 +0100, Arnout Vandecappelle
(Essensium/Mind) wrote:
> When generating a random configuration, also check the host
> dependencies for that configuration and error out if it fails.
> 
> This is mainly intended for the autobuilders, so they don't try to
> build a configuration for which the necessary host packages are not
> installed.
> 
> Instead of erroring out, we could also generate a different random
> config. However:
> 
> - When called for the autobuilders, the autobuild-run script will
>   anyway just attempt another build. The only difference is that a
>   warning will be printed in this autobuild log now. This warning
>   is in fact quite useful to hint that the autobuilder could benefit
>   from intalling this additional host package.
> 
> - When called manually, the user may in fact want to install the
>   missing host package and continue with the saved random config.
> 
> Fixes:
> 
> http://autobuild.buildroot.net/results/d7c/d7c12e873a71fef1e0b5e19cfad45024050614e1
> http://autobuild.buildroot.net/results/a0a/a0a105c1ec2d0517112b02932a85831d4b597b9f
> http://autobuild.buildroot.net/results/96c/96cc6cedc64c777e993671204809599a1498472a
> 
> and many others...
> 
> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>  utils/genrandconfig | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

      reply	other threads:[~2018-02-08 21:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-06 21:40 [Buildroot] [PATCH] utils/genrandconfig: check core-dependencies Arnout Vandecappelle
2018-02-08 21:20 ` Thomas Petazzoni [this message]

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=20180208222025.278396e0@windsurf.lan \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox