Hi,

> 
> 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' ; \

This chunk of code looks volatile, and vulnerable to changes in mirror
structures, if I duplicated it to pbuilder.  I'm now more inclined to
have some common code that can be shared from several applications,
and let apt parse sources.list, rather than parsing sources.list
individually.

regards,
        junichi
-- 
[EMAIL PROTECTED],netfort.gr.jp}   Debian Project


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to