mirror of
https://github.com/clearlinux/swupd-server.git
synced 2026-11-21 23:05:22 +00:00
983b17d68d55687549d0484e2c9d739bbdbfc753
According to POSIX.1 only d_name and d_ino fields of struct dirent are standardized. d_type isn't always correctly set on file systems like XFS. In such cases it makes sense to resort to lstat(). Otherwise a user has hard time figuring out what's wrong with her setup. Also remove redundant populate_file_struct() as it's called again in parallel threads. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.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%