mirror of
https://github.com/clearlinux/swupd-server.git
synced 2026-08-28 13:45:42 +00:00
1aed8c3d4d59545fc96779fafae82e9ccbd841fa
In subtract_manifests(), if the two files under consideration have the same filename but should not be subtracted, a file is skipped in the m2 manifest because there is no "continue" statement at the end of the first "if" block. This results in potentially many files not getting subtracted when they ought to be. To clarify the logic, avoid using "continue", since it is not needed. Convert to using one "if" block instead. 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.
Description
Languages
C
69.3%
Shell
27.7%
Makefile
1.6%
M4
1.4%