[Piuparts-devel] Bug#389223: piuparts: share base with cowbuilder
and cache downloaded packages
gregor herrmann
gregor+debian at comodo.priv.at
Mon Apr 2 14:30:10 UTC 2007
On Mon, 02 Apr 2007 16:08:32 +0200, Michael Ablassmeier wrote:
> 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.
Right.
I did this after stracing pdebuild with "PDEBUILD_PBUILDER=cowbuilder",
and seeing that a similar "cp -al ..." happens there, too.
> That
> also explains why cowbuilder doesnt store any aptcache, because its not
> even called.
I'n not sure if caching happens if piupart uses pbuilder's tar.gz
because pbuilder isn't invoked either IIRC but only it's .tar.gz
unpacked instead of using debootstrap.
But anyway, input from piupart/cowbuilder/python experts is highly
appreciated ;-)
Cheers,
gregor
--
.''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : debian: the universal operating system - http://www.debian.org/
`. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
`- NP: Eric Clapton: After Midnight
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20070402/a74d7137/attachment.pgp
More information about the Piuparts-devel
mailing list