mirror of
https://github.com/clearlinux/swupd-server.git
synced 2026-11-21 23:05:22 +00:00
cb2706fb72f1b62b37abfdc8050805e805d650d4
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>
The swupd-server package provides a reference implementation of a software update server-side component that generates update content consumable by a software update client (swupd-client). Such content includes manifests that describe incremental changes in the OS from build to build, binary deltas, full copies of files (fullfiles) that were added/changed from a previous build, and packs composed of binary deltas and/or fullfiles.
Languages
C
69.3%
Shell
27.7%
Makefile
1.6%
M4
1.4%