Package: debian-installer Version: 20150422+deb8u2 Tags: patch I've debootstrapped a chroot from a local debian mirror. The sources.list file in the chroot is deb file:///srv/debian jessie main deb file:///srv/debian jessie-proposed-updates main but the gen-sources.list.udeb script outputs only deb copy:///srv/debian jessie main/debian-installer The script has some elaborate code to handle (f|ht)tp urls and add proposed-updates when needed for those but can't handle file:/// urls and ouptputs only one repo instead of two. The attached patch fixes the problem in a rather simplistic yet efficient way. Kind regards, -- Było mi bardzo miło. --- Rurku. --- ... >Łukasz< --- To dobrze, że mnie słuchasz. ...Przez ulicę przechodzi na żółtym świetle, jabłka obiera żyletką, lubi ryzyko
diff --git a/build/util/gen-sources.list.udeb b/build/util/gen-sources.list.udeb index 26a0ac2..7f62d9d 100755 --- a/build/util/gen-sources.list.udeb +++ b/build/util/gen-sources.list.udeb @@ -86,6 +86,9 @@ for mirror in $MIRRORS; do fi else echo "$mirror $SUITE $UDEB_COMPONENTS" + if [ "$USE_PROPOSED_UPDATES" = 1 ]; then + echo "$mirror $SUITE-proposed-updates $UDEB_COMPONENTS" + fi fi done | perl -ne 'print unless $seen{$_}; $seen{$_}=1'
Attachment:
signature.asc
Description: PGP signature