You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6867d86e08
We regularly encounter the situation that devices are subject to changes that will make them incompatible to previous versions. Removing SUPPORTED_DEVICES will not really be helpful in most of these cases, as this only helps after a rename. To solve this situation, this patchset introduces a compatibility version for devices. It will be implemented via a per-device Make variable DEVICE_COMPAT_VERSION, which will be set to 1.0 globally by default and then can be overwritten as needed. Furthermore, a variable DEVICE_COMPAT_MESSAGE is added, where a message to be displayed during sysupgrade may be specified optionally. This patch only implements the build variables and adds them to the sysupgrade metadata, the evaluation will be addressed in a subsequent patch. To set it, one would just need to add the following to a device node: define Device/somedevice ... DEVICE_COMPAT_VERSION := 1.1 DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA endef Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> |
4 years ago | |
---|---|---|
.. | ||
site | 5 years ago | |
autotools.mk | 5 years ago | |
cmake.mk | 4 years ago | |
debug.mk | 9 years ago | |
depends.mk | 7 years ago | |
device_table.txt | 11 years ago | |
download.mk | 4 years ago | |
feeds.mk | 5 years ago | |
hardened-ld-pie.specs | 6 years ago | |
hardening.mk | 4 years ago | |
host-build.mk | 4 years ago | |
image-commands.mk | 4 years ago | |
image-legacy.mk | 7 years ago | |
image.mk | 4 years ago | |
kernel-build.mk | 4 years ago | |
kernel-defaults.mk | 5 years ago | |
kernel-version.mk | 4 years ago | |
kernel.mk | 4 years ago | |
netfilter.mk | 4 years ago | |
nls.mk | 6 years ago | |
package-bin.mk | 7 years ago | |
package-defaults.mk | 4 years ago | |
package-dumpinfo.mk | 5 years ago | |
package-ipkg.mk | 4 years ago | |
package-seccomp.mk | 9 years ago | |
package.mk | 4 years ago | |
prereq-build.mk | 4 years ago | |
prereq.mk | 5 years ago | |
quilt.mk | 5 years ago | |
rootfs.mk | 5 years ago | |
scan.awk | 9 years ago | |
scan.mk | 5 years ago | |
shell.sh | 7 years ago | |
subdir.mk | 6 years ago | |
target.mk | 4 years ago | |
toolchain-build.mk | 5 years ago | |
toplevel.mk | 4 years ago | |
u-boot.mk | 4 years ago | |
uclibc++.mk | 4 years ago | |
unpack.mk | 4 years ago | |
verbose.mk | 6 years ago | |
version.mk | 5 years ago |