mirror of
https://github.com/clearlinux/mixer-tools.git
synced 2026-09-06 05:31:50 +00:00
When building bundles perform all DNF transactions in bulk. There are two reasons to do this. 1. DNF is too smart for its own good. It will resolve dependencies differently depending on the packages listed in the transaction. Therefore we must perform these transactions with all relevant packages listed for the bundle being processed. 2. DNF transactions take time. When performing much fewer transactions in bulk the bundle builder can execute in a shorter time. Certain manifest validation tools also require a complete dep-solved list of all packages and included packages for a bundle to validate the bundle manifest. For this reason use the bundle.AllPackages list and leave the bundle.DirectPackages list as an informational list of just the direct packages specified in the bundle definition file. Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>