[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: avoiding cdn.debian.net



Op 20100512 om 16:40 schreef Daniel Baumann:
> On 05/12/2010 04:31 PM, Geert Stappers wrote:
> > My 'lh_config' has
> >   --mirror-chroot http://ftp.nl.debian.org/debian/  \
> >   --mirror-bootstrap http://ftp.nl.debian.org/debian/  \
~ >
~ > But during build is _also_ http://cdn.debian.net used.
~ > The target also uses cdn.debian.net.
~ >
~ > How to avoid cdn.debian.net ?
~ > (or 'How to overwrite "cdn.debian.net" with a other archive mirror ? )
~ > 
> 
> you've stumpled upon the difference between chroot mirrors and binary
> mirrors, please check the manpage of lh config for the explenation.

|
|  --mirror-binary URL
|      sets the location of the debian package mirror that should end  up
|      configured in the final image and which is the one a user would see
|      and use. This has not necessarily to be the same that  is used  to
|      build the image, e.g. if you use a local mirror but want to have an
|      official mirror in the image. By default, the same  value that  is
|      used for --mirror-chroot is used here unless specified different.
|

The "By default, the same  value that  is used for --mirror-chroot is
used here unless specified different."  seems not true. Having lh_config
    --mirror-chroot http://ftp.nl.debian.org/debian/  \
avoids "cdn.debian.net" during build.


Reply to: