[Piuparts-devel] Bug#389223: piuparts: share base with cowbuilder
and cache downloaded packages
Michael Ablassmeier
abi at grinser.de
Mon Apr 2 14:08:32 UTC 2007
hi guys,
On Wed, Feb 14, 2007 at 06:34:39PM +0100, Mohammed Adn?ne Trojette wrote:
> On Wed, Feb 14, 2007, Lars Wirzenius wrote:
> > Since I (still) don't know much about cowbuilder, nor have time to learn
> > right now, it would be good if someone else in the pbuilder project on
> > alioth would test this patch and apply it (after necessary corrections,
> > if any).
>
> I've tried it further. And there actually is a problem: downloaded
> debian packages aren't stored correctly in pbuilder's aptcache
> directory: some corrections are necessary. Nevertheless, the patch as it
> is is still useful.
looking at the patch this option does not more than:
+ run(["cp", "-al", settings.cowbuilderpath, self.name])
so it simply copies the chroot from cowbuilders basepath to a new
directory and uses it, instead of unpacking pbuilders base.tgz. That
also explains why cowbuilder doesnt store any aptcache, because its not
even called.
Im not sure if this is .. "cowbuilder integration": its basically an
option to use whatever directory tree as chroot, which is indeed useful
as it saves time and would be nice to have in the archive. (having to
tar -zxf pbuilers .tgz each time simply sucks, it wastes time).
Maybe cowbuilder can be integrated better, but then im not into python
at all.
bye,
- michael
More information about the Piuparts-devel
mailing list