mirror of
https://github.com/clearlinux/swupd-server.git
synced 2026-10-05 00:18:33 +00:00
4e6fb28d0a3fe83a6de7095042e9f2092dbf8053
Because pack generation is a time-consuming task, running this task in parallel is preferable. However, if we are generating two or more packs with the same "from" version at the same time, the multiple jobs will use the same pack staging directory, leading to corruption. My solution for now is to use a staging dir with a name derived from both "from" and "to" versions so that there are no collisions. A long-term fix will be to implement some kind of locking mechanism to prevent *identical* packs from being generated simultaneously, but for now, using more unique staging directories will improve the situation. 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%