Cages should start with cached packages already installed #9703
Labels
C: builder
Qubes Builder
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
How to file a helpful issue
The problem you're addressing (if any)
Even with the Qubes executor, installing the cached packages is often the (subjectively) slowest part of a build.
The solution you'd like
Cached packages (fetched with
init-cache
) should be pre-installed into a chroot, avoiding the need to install the packages every time. The local and container executors can bind-mount the chroot into the cage read-only for even more speed wins, and the Qubes executor might be able to use a Plan 9 filesystem mount.This should not be done for CI builds (and possibly production builds) because it hides missing build dependencies. That’s not an issue for developer builds, though.
The value to a user, and who that user might be
All contributors will benefit from faster builds.
Completion criteria checklist
(This section is for developer use only. Please do not modify it.)
The text was updated successfully, but these errors were encountered: