[PATCH] reproducible Debian: filter Environment section from buildinfo files

Holger Levsen holger at layer-acht.org
Sun Nov 6 16:05:12 UTC 2016


thanks a lot for this patch, I've applied it as it should fix the failures
introduced with the new dpkg and avoids us from patching dpkg, which is
super awesome! 0 packages different to the main archive, finally \o/

(we should trigger rebuilds of all packages which started building
between the dpkg upload and now… if we are lazy just everything from
today :)

that said…

On Sun, Nov 06, 2016 at 04:35:39PM +0100, Reiner Herrmann wrote:
> +filter_buildinfo_files() {
> +	# filters out the Environment section from buildinfo files
> +	local TMPFILE1=$(mktemp --tmpdir=$TMPDIR)
> +	grep-dctrl -I -s Environment . ./b1/$BUILDINFO > $TMPFILE1
> +	mv $TMPFILE1 ./b1/$BUILDINFO

this permanently throws away the Environment information, which I'm not
sure is the best case of action here. maybe we should preserve them
both, always?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161106/eebeda55/attachment.sig>

More information about the Reproducible-builds mailing list