Bug#563583: bind-mount $APTCACHE as /var/cache/apt/archives?

Junichi Uekawa dancer at netfort.gr.jp
Tue Jan 5 12:45:17 UTC 2010


Hi,

At Sun, 03 Jan 2010 22:25:20 +0100,
Daniel Leidert wrote:
> 
> Package: pbuilder
> Version: 0.196
> Severity: wishlist
> 
> There was recently a discussion on planet-debian about making BUILDPLACE a
> tmpfs. This increases the speed a lot. But then hard-linking of the cached
> Debian packages fails. An alternative might be to use the copy action
> (APTCACHEHARDLINK = no). But wouldn't it be sufficient to bind-mount APTCACHE
> as /var/cache/apt/archives in the chroot?
> 
> Could there be an alternative option to APTCACHEHARDLINK: APTCACHEBINDMOUNT?
> 
> IMO this would make it easily possible to use a tmpfs for BUILDPLACE.

True.

It probably depends on how much memory you have; 2GB or more of RAM
and you'll probably be able to do that reliably.


On the other hand, I personally use cowbuilder, and that seems to be
working pretty well for my use-case.


regards,
	junichi
-- 
dancer@{netfort.gr.jp,debian.org}





More information about the Pbuilder-maint mailing list