Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 2015 07:55:04 +0000
From:      Ed Maste <emaste@freebsd.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: Removing build metadata, for reproducible kernel builds
Message-ID:  <CAPyFy2CZYV%2B-5pDQjCA4Btct1VZUyEQUuL2iU1z07Ff-n2Y9Hg@mail.gmail.com>
In-Reply-To: <D9AF1C8B-431C-4359-988F-FDEEF8FAD981@bsdimp.com>
References:  <CAPyFy2AYeN9XNg=b0=JMWDC9ctWarfiZ-5zQorOPhguDJgxYpg@mail.gmail.com> <D9AF1C8B-431C-4359-988F-FDEEF8FAD981@bsdimp.com>

index | next in thread | previous in thread | raw e-mail

On 3 December 2015 at 05:51, Warner Losh <imp@bsdimp.com> wrote:
>
> I noted in the review that I don’t like the default being no.
>
> I also don’t like that we’re growing lots of different knobs that need
> to be set to get a repeatable build. Let’s have one, or barring that,
> let’s have one that sets all the sub-knobs.

My hope is that we'll have a reproducible build by default, and that
*no* knobs need to be set. That's what I intend with my patch. I can
rename the knob to WITH_/WITHOUT_REPRODUCIBLE_BUILD though if that's
generally desired. If there's a consensus to default to including the
metadata I'm fine with setting it in make release.

> I think that host and path are more worthless than date and time
> in many environments. Who builds it likewise. Those are all things
> that are likely to change between builds, yet change the kernel
> image. I’d rather see it all gone when this option is in effect.

I don't follow -- other than the build iteration number (which I
indeed missed), it is all gone.


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2CZYV%2B-5pDQjCA4Btct1VZUyEQUuL2iU1z07Ff-n2Y9Hg>