package/fwts: bump to version 26.03.00
PATCH v2 1/1 package/fwts: bump to version 26.03.00
See release announces:
26.01.00: https://lists.ubuntu.com/archives/fwts-devel/2026-January/014129.html
26.03.00: https://lists.ubuntu.com/archives/fwts-devel/2026-March/014171.html
The website [1] is no longer working. This commit updates FWTS_SITE to use Github [2], which is now the primary download site in the release announce.
This commit also rewrote the package patch (to add a new --disable-werror configure option), which was proposed upstream. This new option is added in FWTS_CONF_OPTS. With this patch now proposed upstream, the corresponding .checkpackageignore entry is also removed.
The license hash is also updated, after a year update in [3].
The fwts efi_runtime kernel module has been removed upstream, in commit [4]. It is replaced by the Kernel driver efi_test, present since Kernel v4.9, introduced in commit [5]. This commit removes the option and updates the runtime test accordingly. A note is added in the Config.in package help.
Fixes:
https://autobuild.buildroot.org/results/859390dbd2a1d7b3bf43588a461a2ff7dc66f92b/
[1] https://fwts.ubuntu.com/
[2] https://github.com/fwts/fwts
[3] https://github.com/fwts/fwts/commit/b3cd64e61d50956fe498b09e22d5d13e6bbe4a5c
[4] https://github.com/fwts/fwts/commit/6d52a621694be9ab3b83a44a449700205b48c598
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ff6301dabc3ca20ab8f50f8d0252ac05da610d89
--- .checkpackageignore | 1 - Config.in.legacy | 8 ++ DEVELOPERS | 1 + .../0001-build-allow-disabling-Werror.patch | 98 +++++++++++++++++++ .../fwts/0001-build-do-not-use-Werror.patch | 79 --------------- package/fwts/Config.in | 15 +-- package/fwts/fwts.hash | 6 +- package/fwts/fwts.mk | 10 +- support/testing/tests/package/test_fwts.py | 6 +- .../package/test_fwts/linux-efi-test.fragment | 1 + 10 files changed, 121 insertions(+), 104 deletions(-) create mode 100644 package/fwts/0001-build-allow-disabling-Werror.patch delete mode 100644 package/fwts/0001-build-do-not-use-Werror.patch create mode 100644 support/testing/tests/package/test_fwts/linux-efi-test.fragment
.checkpackageignore +0 -1
@@ -353,7 +353,6 @@ package/freescale-imx/imx-vpu-hantro/0003-Fix-Linux-kernel-version-header.patch package/frr/S50frr Shellcheck package/fstrcmp/0001-disable-rpath.patch lib_patch.Upstream package/ftop/0001-overflow.patch lib_patch.Upstream -package/fwts/0001-build-do-not-use-Werror.patch lib_patch.Upstream package/fxdiv/0001-CMake-don-t-enable-CXX-unless-building-tests-benchma.patch lib_patch.Upstream package/fxload/0001-fix-static-build.patch lib_patch.Upstream package/gcc/13.4.0/0001-disable-split-stack-for-non-thread-builds.patch lib_patch.Upstream
Config.in.legacy +8 -0
@@ -146,6 +146,14 @@ endif comment "Legacy options removed in 2026.05" +config BR2_PACKAGE_FWTS_EFI_RUNTIME_MODULE + bool "fwts efi_runtime kernel module removed" + select BR2_LEGACY + help + The fwts efi_runtime module has been removed in V26.01.00. + The Kernel efi_test (Kernel CONFIG_EFI_TEST) should be used + instead. + config BR2_KERNEL_HEADERS_6_19 bool "kernel headers version 6.19.x are no longer supported" select BR2_LEGACY
DEVELOPERS +1 -0
@@ -1896,6 +1896,7 @@ F: support/testing/tests/package/test_fluidsynth.py F: support/testing/tests/package/test_fluidsynth/ F: support/testing/tests/package/test_fping.py F: support/testing/tests/package/test_fwts.py +F: support/testing/tests/package/test_fwts/ F: support/testing/tests/package/test_gawk.py F: support/testing/tests/package/test_ghostscript.py F: support/testing/tests/package/test_ghostscript/
package/fwts/0001-build-allow-disabling-Werror.patch new file +98 -0
98 lines not on this page · raw message
package/fwts/0001-build-do-not-use-Werror.patch deleted +0 -79
79 lines not on this page · raw message
package/fwts/Config.in +3 -12
@@ -26,19 +26,10 @@ config BR2_PACKAGE_FWTS dtc (libfdt) is an optional dependency for fdt related tests. - https://wiki.ubuntu.com/FirmwareTestSuite - -if BR2_PACKAGE_FWTS -config BR2_PACKAGE_FWTS_EFI_RUNTIME_MODULE - bool "efi_runtime module" - depends on BR2_LINUX_KERNEL - help - Firmware Test Suite (FWTS) provides a EFI runtime kernel - module required to run UEFI tests. + For testing EFI runtime services, the Kernel config must + have CONFIG_EFI_TEST=y (since Kernel v4.9). -comment "efi_runtime module needs a Linux kernel to be built" - depends on !BR2_LINUX_KERNEL -endif + https://wiki.ubuntu.com/FirmwareTestSuite comment "fwts needs a glibc toolchain w/ wchar, threads, dynamic library" depends on BR2_PACKAGE_FWTS_ARCH_SUPPORTS
package/fwts/fwts.hash +3 -3
@@ -1,5 +1,5 @@ -# Hash from: https://fwts.ubuntu.com/release/SHA256SUMS -sha256 77d71524feb310236ccdb8b39dd39c6ca73acce5944f3cd54fc05d85a23d6d44 fwts-V25.11.00.tar.gz +# Hash from: https://github.com/fwts/fwts/releases/tag/V26.03.00 +sha256 368fc4dbfde7f5c551de5d352d2f70f1a4d3aa20d7a7df0d4b162535e6e9cef9 fwts-V26.03.00.tar.gz # Hash for license file -sha256 77a5f0ea48e53ee8d67aecc7759cf468bcd340c1caca711ed4307b477a93fb47 debian/copyright +sha256 1ec8cffc8cf213afc5d854027d746c80e638a13b1688f2a352221490c681c54f debian/copyright
package/fwts/fwts.mk +3 -7
@@ -4,12 +4,13 @@ # ################################################################################ -FWTS_VERSION = 25.11.00 +FWTS_VERSION = 26.03.00 FWTS_SOURCE = fwts-V$(FWTS_VERSION).tar.gz -FWTS_SITE = https://fwts.ubuntu.com/release +FWTS_SITE = https://github.com/fwts/fwts/releases/download/V$(FWTS_VERSION) FWTS_LICENSE = GPL-2.0, LGPL-2.1, Custom FWTS_LICENSE_FILES = debian/copyright FWTS_AUTORECONF = YES +FWTS_CONF_OPTS = --disable-werror FWTS_DEPENDENCIES = host-bison host-flex host-pkgconf libglib2 libbsd \ $(if $(BR2_PACKAGE_BASH_COMPLETION),bash-completion) \ $(if $(BR2_PACKAGE_DTC),dtc)
@@ -18,9 +19,4 @@ ifeq ($(BR2_OPTIMIZE_0),y) FWTS_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -O1" endif -ifeq ($(BR2_PACKAGE_FWTS_EFI_RUNTIME_MODULE),y) -FWTS_MODULE_SUBDIRS = efi_runtime -$(eval $(kernel-module)) -endif - $(eval $(autotools-package))
support/testing/tests/package/test_fwts.py +4 -2
@@ -4,8 +4,10 @@ import infra.basetest class TestFwts(infra.basetest.BRTest): + kernel_fragment = \ + infra.filepath("tests/package/test_fwts/linux-efi-test.fragment") config = \ - """ + f""" BR2_aarch64=y BR2_neoverse_n2=y BR2_TOOLCHAIN_EXTERNAL=y
@@ -21,6 +23,7 @@ class TestFwts(infra.basetest.BRTest): BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.6.28" BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y + BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{kernel_fragment}" BR2_TARGET_EDK2=y BR2_TARGET_EDK2_PLATFORM_QEMU_SBSA=y BR2_TARGET_GRUB2=y
@@ -31,7 +34,6 @@ class TestFwts(infra.basetest.BRTest): BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu_sbsa" BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y BR2_PACKAGE_FWTS=y - BR2_PACKAGE_FWTS_EFI_RUNTIME_MODULE=y BR2_PACKAGE_HOST_GENIMAGE=y BR2_PACKAGE_HOST_DOSFSTOOLS=y BR2_PACKAGE_HOST_MTOOLS=y
support/testing/tests/package/test_fwts/linux-efi-test.fragment new file +1 -0
@@ -0,0 +1 @@ +CONFIG_EFI_TEST=y
Signature · 6 lines
2.54.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Romain Naour via buildroot
AppliedHello Julien, All,
Le 16/05/2026 à 21:08, Julien Olivain a écrit :
Quoted 33 lines
See release announces:
26.01.00: https://lists.ubuntu.com/archives/fwts-devel/2026-January/014129.html
26.03.00: https://lists.ubuntu.com/archives/fwts-devel/2026-March/014171.htmlThe website [1] is no longer working. This commit updates
FWTS_SITEto use Github [2], which is now the primary download site in the release announce.This commit also rewrote the package patch (to add a new --disable-werror configure option), which was proposed upstream. This new option is added in
FWTS_CONF_OPTS. With this patch now proposed upstream, the corresponding .checkpackageignore entry is also removed.The license hash is also updated, after a year update in [3].
The fwts
efi_runtimekernel module has been removed upstream, in commit [4]. It is replaced by the Kernel driverefi_test, present since Kernel v4.9, introduced in commit [5]. This commit removes the option and updates the runtime test accordingly. A note is added in the Config.in package help.Fixes:
https://autobuild.buildroot.org/results/859390dbd2a1d7b3bf43588a461a2ff7dc66f92b/[1] https://fwts.ubuntu.com/
[2] https://github.com/fwts/fwts
[3] https://github.com/fwts/fwts/commit/b3cd64e61d50956fe498b09e22d5d13e6bbe4a5c
[4] https://github.com/fwts/fwts/commit/6d52a621694be9ab3b83a44a449700205b48c598
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ff6301dabc3ca20ab8f50f8d0252ac05da610d89Signed-off-by Julien Olivain <[email protected]>---
[...]
Quoted 5 lines
package/fwts/fwts.mk +0
-0
package/fwts/fwts.mk line 11
Quoted 10 lines
package/fwts/fwts.mk +2
-2@@ -4,12 +4,13 @@ # ################################################################################ -FWTS_VERSION = 25.11.00 +FWTS_VERSION = 26.03.00 FWTS_SOURCE = fwts-V$(FWTS_VERSION).tar.gz -FWTS_SITE = https://fwts.ubuntu.com/release +FWTS_SITE = https://github.com/fwts/fwts/releases/download/V$(FWTS_VERSION) FWTS_LICENSE = GPL-2.0, LGPL-2.1, Custom FWTS_LICENSE_FILES = debian/copyright
I added a comment above FWTS_AUTORECONF since we use to add a comment to remember why we set "AUTORECONF = YES"
package/fwts/fwts.mk line 12
Quoted 1 line
package/fwts/fwts.mk +0
-0FWTS_AUTORECONF = YES
Applied to master. Thanks.
Best regards,
Romain
Quoted 5 lines
package/fwts/fwts.mk +1
-0+FWTS_CONF_OPTS = --disable-werror FWTS_DEPENDENCIES = host-bison host-flex host-pkgconf libglib2 libbsd \ $(if $(BR2_PACKAGE_BASH_COMPLETION),bash-completion) \ $(if $(BR2_PACKAGE_DTC),dtc)
package/fwts/fwts.mk ifeq ($(BR2_OPTIMIZE_0),y) · line 22
Quoted 9 lines
package/fwts/fwts.mk +0
-5@@ -18,9 +19,4 @@ ifeq ($(BR2_OPTIMIZE_0),y) FWTS_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -O1" endif -ifeq ($(BR2_PACKAGE_FWTS_EFI_RUNTIME_MODULE),y) -FWTS_MODULE_SUBDIRS = efi_runtime -$(eval $(kernel-module)) -endif - $(eval $(autotools-package))
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot