openwrt/package/base-files/files
Nick Hainke 16775c4852 base-files: sysupgrade: avoid cat missing conffiles_static
If the user removes all /lib/apk/packages/*.conffiles* files to prevent
sysupgrade from preserving configuration, the glob no longer matches and
sysupgrade ends up calling cat on a non-existent path:

  cat: can't open '/lib/apk/packages/*.conffiles_static': No such file or directory

Fix this by using find cmd.

Signed-off-by: Nick Hainke <vincent@systemli.org>
Link: https://github.com/openwrt/openwrt/pull/22071
(cherry picked from commit 10db6fc26e)
Link: https://github.com/openwrt/openwrt/pull/22566
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-23 11:31:58 +01:00
..
bin base-files: board_detect: make resilient against power-cuts 2025-11-25 21:51:25 +01:00
etc base-files: honoring Dave Täht with the OpenWrt 25.12 2026-03-03 01:14:15 +01:00
lib base-files: introduce a function to generate IAID 2026-01-15 11:06:32 +01:00
rom
sbin base-files: sysupgrade: avoid cat missing conffiles_static 2026-03-23 11:31:58 +01:00
usr base-files: allow platform_check_image to prevent --force 2025-04-21 16:12:42 +01:00