[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#769844: linux: please make linux build reproducibly



On Mon, Nov 17, 2014 at 12:46:45AM +0100, Jérémy Bobbio wrote:
> The first patch adds call to `dh_strip_nondeterminism` and
> `dh_fixmtimes`, both being part of the custom toolchain currently used
> for reproducible builds. Hence not tagging the bug with “patch” until
> they are integrated in debhelper.

Why does this need new tool instead of being integrated into the
existing ones?

> The second patch changes the value of KBUILD_BUILD_TIMESTAMP to a
> timestamp parseable by `date`.

Well, no.  The string is this way for a reason.

> An unclear aspect is where to add a call to `dh_genbuildinfo` which
> generates the .buildinfo [2]. It should be called after all binary
> packages have been created.

Not possible, dh_* acts on single binary packages.

>  * linux-source: mtimes of many files differ. Would it be ok to just
>    create the tarball with a single timestamp (`tar --mtime=`)?

Looks like a way.

Bastian


Reply to: