mirror of
https://github.com/clearlinux/swupd-server.git
synced 2026-08-28 13:15:46 +00:00
cb2706fb72
Since removing of all of the matching deleted files between a build with an older manifest format and current needs to happen *after* match_manifests() finishes accounting for new and deleted entries in the manifests, simply move the logic into a separate function to be called after match_manifests(). Because one or more file deletions should trigger a fresh bundle manifest creation, account for the return value of this new function in addition to the result of manifest pruning and whether any bundle includes were changed. Since "os-core" is treated specially, and it's expected to contain changed files for every build, only the non-"os-core" bundle manifests need the trigger. Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>