mirror of
https://github.com/clearlinux/swupd-server.git
synced 2026-10-04 16:08:29 +00:00
f01d9ca6c83848115afb3cf0f2b2e619a4370475
In Ostro OS, we already have a "full" directory with all files. Splitting it up into bundles just so that swupd-create-update can reconstruct the "full" directory is a waste of IO, and noticably slow when run under pseudo. To streamline the required work, a new layout for the "image" input directory gets introduced: - The "full" directory gets created by the caller before invoking swupd-create-update. - For each bundle, instead of a <bundle> directory, there is a <bundle>.content.txt file, listing all entries (including directories) of the bundle. The traditional mode of operation still works as before because each operation which normally works with a bundle directory checks whether there is such a directory and if not, switches to the new mode. That way it is even possible to mix the two modes, i.e. replacing only some bundles with a content list, although that's probably not all that useful. Signed-off-by: Patrick Ohly <patrick.ohly@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%