[rb-general] Bug#926242: jenkins.debian.org: Please test reproducibility status of Debian Installer images

Cyril Brulebois kibi at debian.org
Wed Jun 5 16:53:06 UTC 2019


Hi,

Chris Lamb <lamby at debian.org> (2019-06-05):
> Apologies for the delay in getting back to you all here.
> 
> I've got this working locally here although we require the following
> change to the gen-sources.list.udeb script. Basically, we need print
> three columns if we have "[options]", otherwise we just print two:
> 
> diff --git a/build/util/gen-sources.list.udeb b/build/util/gen-sources.list.udeb
> index 539345a45..ac416266a 100755
> --- a/build/util/gen-sources.list.udeb
> +++ b/build/util/gen-sources.list.udeb
> @@ -36,10 +36,9 @@ get_mirrors() {
>  		[ -s $file ] || continue
>  		grep '^deb[[:space:]]' $file | \
>  		   grep -v '^deb[[:space:]]\+cdrom:' | \
> -		   sed 's,^deb \[[^]]*\] ,deb ,' | \
>  		   grep -v '\(security.debian.org\|volatile.debian.\(net\|org\)\)' | \
>  		   grep '[[:space:]]main' | \
> -		   awk '{print $1 " " $2}' | \
> +		   awk '{ print (substr($2, 0, 1) == "[") ? $1 " " $2 " " $3 : $1 " " $2 }' | \
>  		   sed 's,^deb file,deb copy,' | \
>  		   sed 's,/* *$,,'
>  	done
> 
> How does this look to you? Shell "golf" suggestions welcome,
> naturally. (I tried a few sed variants but it got a bit messy.)

I'm a little wary with possibly merging this late in the release cycle,
so I'd rather get see that looked at after Buster is out. With extra
apologies since I've just broken the context of your patch by removing
the volatile references (in both debian-installer{,-netboot-images}.git)
since volatile disappeared with Squeeze and it's about time we dealt
with it… (https://www.debian.org/volatile/)


Cheers,
-- 
Cyril Brulebois (kibi at debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20190605/63a611f1/attachment.sig>


More information about the rb-general mailing list