Junichi Uekawa <[EMAIL PROTECTED]> writes:

[...]


> > > Is there a 'canonical' way to achive what I'm asking for?
> > 
> > I simply use APTCACHE=/var/cache/apt/archives/, it copies the contents
> > into the chroot first and copies back the newly downloaded debs.
> > 
> 
> I'll add this into the FAQ section of the documentation. 
> I initially thought it should be obvious, but apparently isn't.

Yes, thanks. It wasn't clear to me, how pbuilder actually works. I
thought that because /var/cache/apt/archives is not accessible from
within the chroot, this would not be possible. It didn't cross my mind
that /var/cache/pbuilder/aptcache is also outside the chroot.

But please add to the FAQ that both /var/cache/apt/archives and the
chroot must be located on the same partition. Else hard-linking the
debs doesn't work.

Thanks,

Johannes

~/.signature under construction

Reply via email to