openwrt/package/base-files/files/lib/upgrade
David Bauer 618ab576be base-files: allow ignoring minor compat-version check
Downstream projects might re-generate device-specific configuration
based on OpenWrt's defaults on each upgrade, thus being unaffected by
forward- as well as backwards-breaking configuration.

Add a new sysupgrade parameter, which allows sysupgrades between minor
compat-versions. Upgrades will still fail upon mismatching major compat
versions.

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 34437af888)
2022-06-23 00:32:16 +02:00
..
keep.d base-files: Add /etc/shinit for non-login shell init 2020-03-01 21:35:59 +01:00
common.sh base-files: upgrade: fix efi partitions size calculation 2021-12-27 13:51:41 +01:00
do_stage2 treewide: sysupgrade: use $UPGRADE_BACKUP to check for backup 2019-09-11 09:05:35 +02:00
emmc.sh base-files: Align rootfs_data upgrades to 64KiB on eMMC 2022-03-16 17:50:06 +01:00
fwtool.sh base-files: allow ignoring minor compat-version check 2022-06-23 00:32:16 +02:00
legacy-sdcard.sh base-files: rename 'sdcard' to 'legacy-sdcard' 2021-08-16 12:22:17 +01:00
nand.sh base-files: more robust sysupgrade on NAND 2022-04-15 14:11:59 +01:00
stage2 base-files: make sure tools are present in sysupgrade ramdisk 2022-02-22 19:16:03 +00:00