[Pbuilder-maint] A sane guess at default Debian mirror for pbuilder

Joey Hess joeyh at debian.org
Sun May 27 17:43:08 UTC 2007


Junichi Uekawa wrote:
> Looking for prior art I found the following:

d-i uses the following hack to figure out where to download udebs from
when building installation media:

                grep '^deb[ \t]' $(SYSTEM_SOURCES_LIST) \
                |grep -v '^deb[ \t]cdrom:' \
                |grep -v '\(security.debian.org\|volatile.debian.\(net\|org\)\)' \
                |grep '[ \t]main' \
                |awk '{print $$1 " " $$2}' \
                |sed "s,/* *$$, $(SUITE) $(UDEB_COMPONENTS)," \
                |sed "s,^deb file,deb copy," \
                |perl -ne 'print unless $$seen{$$_}; $$seen{$$_}=1' ; \

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20070527/8adef64a/attachment.pgp 


More information about the Pbuilder-maint mailing list