OpenVoiceOS/buildroot-external
Jan Čermák d2059c5531 Add script for checking resulting kernel config (#3006)
There is bunch of kernel config options that are not propagated
correctly to the kernel configuration after fragments are merged
and processed by Kconfig. Current Buildroot tools are not good at
discovering these - while we cleaned up most inconsistencies by using
linux-diff-config and output from the merge_config.sh script, there
are still options that were removed or get a different value than
intended because of dependencies, etc.

This commit adds a Python script that is using Kconfiglib to parse
current kernel's Kconfig files and the generated .config and compare
the requested values from individual kernel config fragments. The
script can be used manually by running `make linux-check-dotconfig`
from the buildroot directory (with path to BR2_EXTERNAL directory set)
and it's called also from the CI, where it generates Github Workflow
warning annotations when some of the values are not present or when set
incorrectly.

The kconfiglib.py is checked-in to the repo as well, because the library
is currently abandoned on PyPI and packaged version has a bug that causes
errors parsing Kconfigs in newer Linux versions, fixed in outstanding
pull request ulfalizer/Kconfiglib#119 - so version from this PR is used
here.

If pypi/support#2526 is ever resolved, we could remove it from our repo
and use pip for installing the package as a requirement during build
of the build container.
2024-02-08 09:20:36 +00:00
..
board/ovos [x86] (Fix) No longer needed to install the kernel to the vfat esp partition. 2024-02-05 11:34:16 +00:00
configs [All] (testing) Bumpe kernel to 6.6.14 2024-02-05 16:41:40 +00:00
kernel [All] Move the kernel RT PREEMPT settings to the main kernel config fragment file 2024-02-03 14:09:11 +00:00
package [RPI] (WIP) Switch to kernel 6.6 VocalFusion drivers 2024-02-07 22:19:43 +00:00
patches [All] (testing) Bumpe kernel to 6.6.14 2024-02-05 16:41:40 +00:00
rootfs-overlay [All] Add --security-opt label=disable to the quadlet files 2024-02-07 18:24:19 +00:00
scripts Add script for checking resulting kernel config (#3006) 2024-02-08 09:20:36 +00:00
Config.in [WIP] Initial work on pre-pulling containers at buildtime. 2023-10-21 10:33:28 +00:00
busybox.config [ALL] Switch from syslogd to rsyslogd. 2023-09-02 11:56:57 +00:00
external.desc Start with rebranding to OpenVoiceOS (OVOS). 2020-10-06 21:23:38 +02:00
external.mk Add script for checking resulting kernel config (#3006) 2024-02-08 09:20:36 +00:00
meta Splitting the build system for base and gui images 2023-04-08 14:42:52 +02:00
swupdate.config More work and get rpi4 inline 2023-08-21 08:05:43 +00:00
user_table.txt [ALL] {WIP} Sound architectual changes for pipewire 2023-12-19 14:02:11 +00:00