1
1
openwrt/package
Eric Fahlgren 038bc85849 base-files: sysupgrade: exclude apk files from backup
Exclude more apk related files from the sysupgrade backup list when
using the various options that scan /etc for changes.

Ensure removal of the system generated distfeeds list, as that
contains kernel- and version-specific urls and should never be
retained.

Also exclude any '*.apk-new' files, equivalent to the old '*-opkg'
files, which may have been created during package installation.

Example before
  $ sysupgrade -l -c | grep apk
  /etc/apk/keys/buildroot.pem
  /etc/apk/repositories.d/customfeeds.list
  /etc/apk/repositories.d/distfeeds.list
  /etc/owut.d/pre-install.sh.apk-new
  /etc/config/adblock.apk-new

After
  $ sysupgrade -l -c | grep apk
  /etc/apk/keys/buildroot.pem
  /etc/apk/repositories.d/customfeeds.list

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22937
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-04-16 21:22:22 +02:00
..
base-files base-files: sysupgrade: exclude apk files from backup 2026-04-16 21:22:22 +02:00
boot uboot-envtools: add extreme-networks,ws-ap3805i 2026-04-16 21:20:01 +02:00
devel gdb: add CPPFLAGS 2026-02-17 22:16:58 +01:00
firmware linux-firmware: update to 20260410 2026-04-12 10:22:01 +02:00
kernel treewide: use _scoped for loop 2026-04-16 21:17:43 +02:00
libs openssl: update to 3.5.6 2026-04-11 12:18:54 +02:00
network wifi-scripts: add EHT rates to set_fixed_freq 2026-04-12 18:36:20 +02:00
system procd: update to Git HEAD (2026-03-25) 2026-04-13 11:55:37 +09:00
utils mtd-utils: update to v2.3.1 2026-04-16 20:45:40 +02:00
Makefile build: propagate errors when generating apk indexes 2026-02-13 21:17:21 +01:00