Created attachment 3028 [details] Allow rootfs tasks to run in parallel with rpm Give each rootfs its own RPM channel to use. This puts the RPM metadata in a private subdirectory of $WORKDIR, rather than living in DEPLOY_DIR where other tasks may race with it. This allows us to reduce the time that the rpm.lock is held to only the time needed to hardlink the RPMs, allowing the majority of the rootfs operation to run in parallel.
Steven: Could I ask you to submit this on the mailing list please? We're past the feature freeze so this would go into 2.2 M1. There is some risk about systems with DEPLOY_DIR on a separate filesystem where large data copies would be needed but that is something we could likely accept. Mark: CC'd for reference.