openwrt-mirror/package/base-files/files
Christian Marangi 93d49529a1
apk: provide csum for static conffiles
For non-overlay configuration we need checksum for config file that
weren't modified by the user. For OPKG in sysupgrade we check the status
file for the Conffiles: entry of every package. this entry contains
checksum for every static file that the package contains.

Provide the same info for APK by creating a conffiles_static file and
parse this file on sysupgrade for non-overlay configurations.

This is also used by the sysupgrade -u option to exclude non-changed
files from the final backup.

Link: https://github.com/openwrt/openwrt/pull/15543
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-06-11 23:58:17 +02:00
..
bin base-files: ipcalc.sh: Add netmask2prefix function 2023-12-12 12:30:35 -07:00
etc base-files: reduce IPv6 ULA prefix generation to a single call 2024-04-18 12:55:31 +02:00
lib Revert "base-files: Ignore exit code of uci.sh inclusion" 2024-06-08 12:57:18 +02:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin apk: provide csum for static conffiles 2024-06-11 23:58:17 +02:00
usr base-files: validate firmware for compatibility with backup 2019-09-08 09:10:30 +02:00