base-files: allow ignoring minor compat-version check
authorDavid Bauer <mail@david-bauer.net>
Fri, 13 May 2022 23:26:02 +0000 (01:26 +0200)
committerDavid Bauer <mail@david-bauer.net>
Wed, 22 Jun 2022 22:32:16 +0000 (00:32 +0200)
commit618ab576beb0602a780d327dcd29bfd33d75e5e9
tree1fd7fbbb063dca4379c9b84252ad0c21a27f4a02
parent2726c8c3151dc09614ed12a0e8729934e602821e
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 34437af88867c4435add8a144417290b7fd4362a)
package/base-files/files/lib/upgrade/fwtool.sh
package/base-files/files/sbin/sysupgrade