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>
Sat, 18 Jun 2022 20:11:04 +0000 (22:11 +0200)
commit34437af88867c4435add8a144417290b7fd4362a
treec8f052ea9d6ad8da9f3b75a0733746d81ffd9421
parent7154a1dc7b9f1b01f30ef0281e65c952c89d375b
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>
package/base-files/files/lib/upgrade/fwtool.sh
package/base-files/files/sbin/sysupgrade