While working on https://vyos.dev/T8496, I noticed that the kernel build process has some smaller oddities.
a) The vyos_defconfig is not necessarily in sync with the kernel version.
# # Automatically generated file; DO NOT EDIT. # Linux/x86 6.6.93 Kernel Configuration #
While we're now at kernel 6.6.113.
The workflow should include make oldconfig or make olddefconfig as a convention when upgrading the kernel.
b) The origin of the vyos_defconfig is not really clear. It says automatically generated. But how? It doesn't seem to use debian as default, does it?
c) Configs fragment values are merged manually in Python. We should consider using scripts/kconfig/merge_config.sh, as it has error handling, warning, etc