On Wed, 2005-03-09 at 23:02 +0900, Junichi Uekawa wrote:
> > So, I put this in /etc/pbuilderrc: APTCACHE="/var/cache/apt/archives/"
> > And ran pbuilder create, which then proceeded to download apt/bash/...
> > 
> > I imagine it might be possible to hardlink the chroot cache to the host
> > apt cache, but I'm not exactly sure if this would work or is the
> > recommended way to do things.
> 
> pbuilder create problem is the deficiency of debootstrap.
> pbuilder itself will use APTCACHE after debootstrap.

The manpage for debootstrap seems to indicate that the MIRROR parameter
can be a file:/// url. It gives the following example:

file:///PATH_TO_LOCAL_MIRROR/debian

I presume this needs Packages.gz/etc, would it be feasible to generate
this using the contents of /var/cache/apt/archives and the apt/dpkg
Packages files?

-- 
bye,
pabs

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to