1
0
Fork 0
forked from mirror/openwrt
openwrt/package/base-files/files/sbin
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
..
firstboot fstools: update to latest HEAD 2024-12-02 14:43:09 +01:00
hotplug-call base-files: hotplug-call: exit success when dir is absent 2019-10-29 13:28:49 +00:00
led.sh scripts: fix wrong usage of '==' operator 2014-10-14 12:21:11 +00:00
pkg_check Revert "apk: limit CONFIG_IPK_FILES_CHECKSUMS config to OPKG" 2024-06-20 05:52:05 +02:00
sysupgrade base-files: sysupgrade: avoid cat missing conffiles_static 2026-03-19 17:50:12 +01:00