mirror of
https://github.com/clearlinux/swupd-server.git
synced 2026-08-28 13:45:42 +00:00
9b05b06a9b
When deciding if a new manifest should be generated for a new version, the included manifests were not being used to detect a manifest change. This caused manifests that had new includes: lines in the new version to not be generated resulting in files from the included manifest to be missed when adding/updating that bundle. The fix was to compare includes: lines from the current and previous manifest versions for differences and generate new manifests when that was the case. In order to compare manifests duplicate includes: lines are not allowed and previously os-core could be added multiple times to a manifest because it was always added. This change also added detection for os-core before automatically adding it to a bundle.