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

#563583#5
Date:
2010-01-03 21:25:20 UTC
From:
To:
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.

Regards, Daniel

#563583#10
Date:
2010-01-03 21:40:40 UTC
From:
To:
Additionally, a document about "perf tuning pbuilder" would be nice,
starting from the usage or hardlink for sharing cache contents, to
/var/cache/pbuilder/build as a tmpfs and the bindmount of apt cache
dir into the chroot.

Regards,

#563583#13
Date:
2010-01-03 21:40:40 UTC
From:
To:
Additionally, a document about "perf tuning pbuilder" would be nice,
starting from the usage or hardlink for sharing cache contents, to
/var/cache/pbuilder/build as a tmpfs and the bindmount of apt cache
dir into the chroot.

Regards,

#563583#18
Date:
2010-01-05 12:45:17 UTC
From:
To:
Hi,

At Sun, 03 Jan 2010 22:25:20 +0100,
Daniel Leidert wrote:

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

#563583#23
Date:
2010-01-05 12:45:17 UTC
From:
To:
Hi,

At Sun, 03 Jan 2010 22:25:20 +0100,
Daniel Leidert wrote:

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