1
0
Fork 0
forked from mirror/openwrt
openwrt/package/base-files/files
Nick Hainke 10db6fc26e 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
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-19 17:50:12 +01:00
..
bin base-files: board_detect: make resilient against power-cuts 2025-11-25 21:51:25 +01:00
etc package: drop apk cheatsheet from base-files 2026-03-04 10:15:21 +01:00
lib base-files: avoid rm error messages in failsafe_wait 2026-03-04 12:54:16 +01:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: sysupgrade: avoid cat missing conffiles_static 2026-03-19 17:50:12 +01:00
usr base-files: allow platform_check_image to prevent --force 2025-04-21 16:12:42 +01:00