[Buildroot] [PATCH 1/3] support/testing: bump prebuilt kernel to 5.10.202

Peter Korsgaard peter at korsgaard.com
Fri Jan 5 10:41:15 UTC 2024


>>>>> "Romain" == Romain Naour <romain.naour at smile.fr> writes:

 > As reported on the mailing list [1], TestPolkitSystemd and
 > TestPolkitInitd are failing since we bumped the Bootlin toolchain
 > 2023.08 [2].

 > The issue is caused by expat (XML library) package detecting
 > arc4random_buf() introduced by glibc 2.36 [3].

 > With arc4random_buf() support enabled, expat hang Polkit while reading
 > its policy files (XML files) due to a lack of entropy on the system.

 > Upgrading the kernel allows to avoid such issue thanks to
 > random_get_entropy_fallback() introduced in 5.10.119 (backpored) [4].

 > Build the vexpress-v2p-ca9 (armv7) 5.10.202 using the kernel
 > configuration file found in /proc/config.gz but with additional kernel
 > options provided by SYSTEMD_LINUX_CONFIG_FIXUPS. Indeed some kernel
 > options requested by systemd were missing in 5.10.7 kernel.

 > Build the versatile-pb (armv5) kernel using the same kernel
 > configuration as qemu_arm_versatile_defconfig but with additional
 > kernel options like for vexpress-v2p-ca9. While at it, enable
 > IKCONFIG_PROC option to provide the kernel configuration at runtime
 > in /proc/config.gz.

 > Runtime tested:
 > https://gitlab.com/kubu93/buildroot/-/pipelines/1097887826 (tests.package.test_polkit.TestPolkit*)
 > https://gitlab.com/kubu93/buildroot/-/pipelines/1097705399 (tests.init.*)

 > Fixes:
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/5689309948 (TestPolkitSystemd)
 > https://gitlab.com/buildroot.org/buildroot/-/jobs/5689309947 (TestPolkitInitd)

 > [1] http://lists.busybox.net/pipermail/buildroot/2023-December/680445.html
 > [2] 452365a385ef35e808eb2eb669d1e3227c7399dd
 > [3] https://sourceware.org/git/?p=glibc.git;a=commit;h=6f4e0fcfa2d2b0915816a3a3a1d48b4763a7dee2
 > [4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=fdca775081527364621857957655207d83035376

 > Signed-off-by: Romain Naour <romain.naour at smile.fr>

Committed to 2023.11.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list