Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] utils/genrandconfing: randomly enable BR2_REPRODUCIBLE 10% of the times
Date: Fri, 7 Jun 2019 11:08:53 +0200	[thread overview]
Message-ID: <a60b1709-e0c9-e1ce-33df-d7df4472ef52@mind.be> (raw)
In-Reply-To: <20190607085558.1580-1-itsatharva@gmail.com>



On 07/06/2019 10:55, Atharva Lele wrote:
> Initial patch to start reproducibility testing.
> 
> Also enable tar filesystem to compare images since diffoscope works well
> with tar.
> 
> Signed-off-by: Atharva Lele <itsatharva@gmail.com>

 You forgot to add my

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

(note that patchwork will automatically pick it up, so when someone applies the
patch, it will have my Reviewed-by tag now.)

> 
> ---
> Changes v1 -> v2:
>   - Remove unnecessary lines that were default anyway (suggested by Arnout)
> 
> Signed-off-by: Atharva Lele <itsatharva@gmail.com>

 This second Sob is not needed. But there's no harm in it, it will be stripped
off automatically when applying.

 Regards,
 Arnout

> ---
>  utils/genrandconfig | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/utils/genrandconfig b/utils/genrandconfig
> index 5f3fe23260..aa5e151b7f 100755
> --- a/utils/genrandconfig
> +++ b/utils/genrandconfig
> @@ -366,6 +366,12 @@ def gen_config(args):
>      if randint(0, 4) == 0:
>          configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n")
>  
> +    # Randomly enable BR2_REPRODUCIBLE 10% of times
> +    # also enable tar filesystem images for testing
> +    if randint(0, 10) == 0:
> +        configlines.append("BR2_REPRODUCIBLE=y\n")
> +        configlines.append("BR2_TARGET_ROOTFS_TAR=y\n")
> +
>      # Write out the configuration file
>      if not os.path.exists(args.outputdir):
>          os.makedirs(args.outputdir)
> 

  reply	other threads:[~2019-06-07  9:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-07  8:55 [Buildroot] [PATCH v2 1/1] utils/genrandconfing: randomly enable BR2_REPRODUCIBLE 10% of the times Atharva Lele
2019-06-07  9:08 ` Arnout Vandecappelle [this message]
2019-06-07  9:12   ` Atharva Lele

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=a60b1709-e0c9-e1ce-33df-d7df4472ef52@mind.be \
    --to=arnout@mind.be \
    --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