[Dev] [Libretools - Bug #349] master/copy chroots aren't needed since [chcleanup]

labs at parabola.nu labs at parabola.nu
Thu Jun 13 03:52:55 GMT 2013

Issue #349 has been updated by lukeshu.

The purpose of having the pristine chroot is now a subset of it's old purpose.

First of all: There are only two cases where it ever synchronizes the chroots:
# When you asked for a chroot copy that doesn't exist, it creates one by syncing it
# When you manually run `librechroot sync`

Don't think of having the 'root' copy as something to sync to when cleaning, thing of it as a template for new chroots.

If I wanted to build many packages concurrently, I could use `libremakepkg -l $n`, where $n represents that this is the n-th chroot copy. I can adjust how large I let $n get, and it will use the 'root' copy to spin up new copies.
Bug #349: master/copy chroots aren't needed since [chcleanup]

Author: fauno
Status: open
Priority: bug
Target version: 

the idea of having chcleanup was to avoid having to wait for the chroots to synchronize, specially when you're building recursively (with fullpkg or treepkg).  since chcleanup is so fast, having a pristine chroot turns out a little overkill.  why are both being used on newer libretools?

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://labs.parabola.nu/my/account

More information about the Dev mailing list