Page MenuHomeVyOS Platform

Kernel build process / conventions, consider using merge_config.sh
Closed, ResolvedPublicBUG

Description

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

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

@c-po I see that you've been updating kernels recently, do you happen to know an answer to point b) from above?

Viacheslav moved this task from Need Triage to Completed on the VyOS Rolling board.