Skip to contentSkip to conversation

bats: use baselib

PATCH New Gyorgy Sarvari 1 participant 10 messages Sep 18, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/10 bats: use baselib

From: Joe Slater <[email protected]>

Use sed to change scripts to reference ${baselib}. The former set of scripts modified was incomplete.

(cherry picked from commit 1cc72c41af0c6a55a10be9158a2f856b02a56282)
---
 meta-oe/recipes-test/bats/bats_1.6.1.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
meta-oe/recipes-test/bats/bats_1.6.1.bb +5 -4
index 3dcb51972d..3f0f575c72 100644
@@ -15,11 +15,12 @@ SRCREV = "1977254c2a7faa2e0af17355856f91dc471d1daa"
 
 S = "${WORKDIR}/git"
 
+# Numerous scripts assume ${baselib} == lib, which is not true.
+#
 do_configure:prepend() {
-	sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats
-	sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-file
-	sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-test
-	sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-format-pretty
+	for f in ${S}/libexec/bats-core/* ${S}/lib/bats-core/* ; do
+		sed -i 's:\$BATS_ROOT/lib/:\$BATS_ROOT/${baselib}/:g' $f
+	done
 }
 
 do_install() {
#1 lore raw

PATCH 2/10 catch2: upgrade 2.13.7 -> 2.13.10

From: alperak <[email protected]>

v2.13.10:
Fixes:

-Fixed issue with catch_discover_tests when there is multiple of 256 tests (#2401, #2503) -Catch2-provided main and wmain are explicitly marked as __cdecl when compiled with MSVC (#2486, #2487) -Improved break-into-debugger behaviour for ARM Macs. It should now be possible to step execution after the break (#2422) -Replaced deprecated std::aligned_storage (#2419, #2420)

v2.13.9:
Fixes:

-Fixed issue with -# (filename-as-tag) flag when __FILE__ expands into filename without directories (#2328, #2393) -Fixed CAPTURE macro not being variadic when disabled through CATCH_CONFIG_DISABLE (#2316, #2378)

v2.13.8:
Fixes:

-Made Approx::operator() const (#2288)
-Improved pkg-config files (#2284)
-Fixed warning suppression leaking out of Catch2 when compiled with clang.exe (#2280) -The macro-generated names for things like TEST_CASE no longer create reserved identifiers (#2336)

Improvements:

-Clang-tidy should no longer warn about missing virtual dispatch in FilterGenerator's constructor (#2314)

(cherry picked from commit 1bdab916b1fd70ce9196aedac319df5dd8b6dd15)
---
 .../recipes-test/catch2/{catch2_2.13.7.bb => catch2_2.13.10.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-test/catch2/{catch2_2.13.7.bb => catch2_2.13.10.bb} (93%)
meta-oe/recipes-test/catch2/catch2_2.13.10.bb renamed from meta-oe/recipes-test/catch2/catch2_2.13.7.bb +1 -1
similarity index 93%
rename from meta-oe/recipes-test/catch2/catch2_2.13.7.bb
rename to meta-oe/recipes-test/catch2/catch2_2.13.10.bb
index ed50f659d3..85403e3686 100644
@@ -6,7 +6,7 @@ LICENSE = "BSL-1.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
 
 SRC_URI = "git://github.com/catchorg/Catch2.git;branch=v2.x;protocol=https"
-SRCREV = "c4e3767e265808590986d5db6ca1b5532a7f3d13"
+SRCREV = "182c910b4b63ff587a3440e08f84f70497e49a81"
 
 S = "${WORKDIR}/git"
 
#2 lore raw

PATCH 3/10 cpputest: add possibility to build extensions

In reply to Gyorgy Sarvari

From: Peter Marko <[email protected]>

(cherry picked from commit 8c0402f7c47188cef1d6afc68c0427124940ea57)
---
 meta-oe/recipes-test/cpputest/cpputest_4.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-test/cpputest/cpputest_4.0.bb +3 -1
index 921143a74c..2dc53ea8df 100644
@@ -15,7 +15,9 @@ inherit cmake
 EXTRA_OECMAKE = "-DLONGLONG=ON \
                  -DC++11=ON \
                  -DTESTS=OFF \
-                 -DEXTENSIONS=OFF \
                  "
 
 FILES:${PN}-dev += "${libdir}/CppUTest/cmake/*"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[extensions] = "-DEXTENSIONS=ON,-DEXTENSIONS=OFF"
#3 lore raw

PATCH 4/10 cukinia: upgrade 0.6.0 -> 0.6.1

In reply to Gyorgy Sarvari

From: Wang Mingyu <[email protected]>

(cherry picked from commit 5f2c3b32dd8f40b67eabc2da98cd279a570cb8d2)
---
 .../recipes-test/cukinia/{cukinia_0.6.0.bb => cukinia_0.6.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-test/cukinia/{cukinia_0.6.0.bb => cukinia_0.6.1.bb} (92%)
meta-oe/recipes-test/cukinia/cukinia_0.6.1.bb renamed from meta-oe/recipes-test/cukinia/cukinia_0.6.0.bb +1 -1
similarity index 92%
rename from meta-oe/recipes-test/cukinia/cukinia_0.6.0.bb
rename to meta-oe/recipes-test/cukinia/cukinia_0.6.1.bb
index 229aee6d7e..9bd2301c85 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
 
 SRC_URI = "git://github.com/savoirfairelinux/cukinia.git;protocol=https;branch=master"
 
-SRCREV = "3fd9db9838ef3de20965aa5f7657c363b679a995"
+SRCREV = "b074be54a1379ae1243ae1187f892aeb39b7c083"
 
 S = "${WORKDIR}/git"
 
#4 lore raw

PATCH 5/10 cukinia: upgrade 0.6.1 -> 0.6.2

In reply to Gyorgy Sarvari

From: Enguerrand de Ribaucourt <[email protected]>

Changes:
cukinia: add /proc/cmdline parameter check
cukinia: add test suite and class to csv
cukinia: add kernel config check in boot partition

(cherry picked from commit daf73e7279da15ad2c29d95f9a8f01658a81f5d5)
---
 .../recipes-test/cukinia/{cukinia_0.6.1.bb => cukinia_0.6.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-test/cukinia/{cukinia_0.6.1.bb => cukinia_0.6.2.bb} (92%)
meta-oe/recipes-test/cukinia/cukinia_0.6.2.bb renamed from meta-oe/recipes-test/cukinia/cukinia_0.6.1.bb +1 -1
similarity index 92%
rename from meta-oe/recipes-test/cukinia/cukinia_0.6.1.bb
rename to meta-oe/recipes-test/cukinia/cukinia_0.6.2.bb
index 9bd2301c85..7b6a7622f8 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
 
 SRC_URI = "git://github.com/savoirfairelinux/cukinia.git;protocol=https;branch=master"
 
-SRCREV = "b074be54a1379ae1243ae1187f892aeb39b7c083"
+SRCREV = "a290f2dbb813ce12ba407962655a5d8b57322221"
 
 S = "${WORKDIR}/git"
 
#5 lore raw

PATCH 6/10 cukinia: inherit allarch

In reply to Gyorgy Sarvari

From: Enguerrand de Ribaucourt <[email protected]>

The recipe installs a shell script which does not depend on the architecture. Inheriting allarch will make sure that the recipe is built only once accross different architectures.

(cherry picked from commit 97c9e5c38d87785c80f824969eb530bcafcbf401)
---
 meta-oe/recipes-test/cukinia/cukinia_0.6.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-test/cukinia/cukinia_0.6.2.bb +2 -0
index 7b6a7622f8..9ad6e6659e 100644
@@ -13,6 +13,8 @@ SRCREV = "a290f2dbb813ce12ba407962655a5d8b57322221"
 
 S = "${WORKDIR}/git"
 
+inherit allarch
+
 do_install () {
     install -d ${D}${sbindir}
     install -m 0755 ${S}/cukinia ${D}${sbindir}
#6 lore raw

PATCH 7/10 cukinia: add libgpiod-tools to RRECOMMENDS

In reply to Gyorgy Sarvari

From: Enguerrand de Ribaucourt <[email protected]>

The cukinia statement cukinia_gpio_libgpiod requires the gpioinfo command. Alternatively, the deprecated sysfs GPIO API can be used with cukinia_gpio_sysfs.

(cherry picked from commit deaa4c111fd3cb12dd7d6cba0550316d71dd8b07)
---
 meta-oe/recipes-test/cukinia/cukinia_0.6.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-test/cukinia/cukinia_0.6.2.bb +2 -0
index 9ad6e6659e..e4ca142c81 100644
@@ -15,6 +15,8 @@ S = "${WORKDIR}/git"
 
 inherit allarch
 
+RRECOMMENDS:${PN} = "libgpiod-tools"
+
 do_install () {
     install -d ${D}${sbindir}
     install -m 0755 ${S}/cukinia ${D}${sbindir}
#7 lore raw

PATCH 8/10 cukinia: drop allarch

In reply to Gyorgy Sarvari

From: Martin Jansa <[email protected]>

* it rdepends on TUNE_PKGARCH libgpiod-tools so it cannot be allarch (or cukinia->libgpiod-tools needs to be added to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS)

  bitbake-diffsigs \
    sstate-before/mako/all-webos-linux/cukinia/0.6.2.do_package_write_ipk.sigdata.630262028cb276fdac170d30a265aa72d4249f84a264e11ea676a5ab38f1cacc \
    sstate-before/qemux86-64/all-webos-linux/cukinia/0.6.2.do_package_write_ipk.sigdata.5d193e43c71f1270d36075be6124bb70585bb682771cff644349c4a7ffd13605
  Hash for task dependency libgpiod:do_packagedata changed from d3dffb55884b89470065c3eaf046563e2f306706400be396b022a470ceca1916 to 76e47aed399fdbd14db3c4b75ef2b83298322429f111175d4ca4f3f4c67eebf0
(cherry picked from commit 1db563c31023bb64d94d34807547baf1d4f2923c)
---
 meta-oe/recipes-test/cukinia/cukinia_0.6.2.bb | 2 --
 1 file changed, 2 deletions(-)
meta-oe/recipes-test/cukinia/cukinia_0.6.2.bb +0 -2
index e4ca142c81..2b5b923e47 100644
@@ -13,8 +13,6 @@ SRCREV = "a290f2dbb813ce12ba407962655a5d8b57322221"
 
 S = "${WORKDIR}/git"
 
-inherit allarch
-
 RRECOMMENDS:${PN} = "libgpiod-tools"
 
 do_install () {
#8 lore raw

PATCH 9/10 cukinia: Fix license field

In reply to Gyorgy Sarvari

From: Philip-Dylan Gleonec <[email protected]>

The recipe currently indicates that the cukinia package is licensed under both GPLv3 AND Apache 2.0 licenses, but the upstream specifies using it under GPLv3 OR Apache 2.0 license, is user's choice.

(cherry picked from commit cb8908b91ead37c5d74b44f949c12c33354956a7)
---
 meta-oe/recipes-test/cukinia/cukinia_0.6.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-test/cukinia/cukinia_0.6.2.bb +1 -1
index 2b5b923e47..fd7b91f1d8 100644
@@ -2,7 +2,7 @@ SUMMARY = "Linux firmware validation framework"
 DESCRIPTION = "Cukinia is designed to help Linux-based embedded firmware \
 developers run simple system-level validation tests on their firmware." 
 HOMEPAGE = "https://github.com/savoirfairelinux/cukinia"
-LICENSE = "GPL-3.0-only & Apache-2.0"
+LICENSE = "GPL-3.0-only | Apache-2.0"
 
 LIC_FILES_CHKSUM = "file://LICENSE.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
                     file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
#9 lore raw

PATCH 10/10 readme: update maintainer

In reply to Gyorgy Sarvari
---
 README                  | 1 +
 meta-filesystems/README | 1 +
 meta-gnome/README       | 1 +
 meta-initramfs/README   | 2 +-
 meta-multimedia/README  | 1 +
 meta-networking/README  | 2 +-
 meta-oe/README          | 3 ++-
 meta-perl/README        | 2 +-
 meta-python/README      | 1 +
 meta-webserver/README   | 2 +-
 meta-xfce/README        | 1 +
 11 files changed, 12 insertions(+), 5 deletions(-)
README +1 -0
index 3dbc476218..b0bd68d85a 100644
@@ -1,6 +1,7 @@
 Collection of layers for the OE-core universe
 
 Main layer maintainer: Gyorgy Sarvari <[email protected]>
+Layer maintainer emeritus: Armin Kuster <[email protected]>
 
 This repository is a collection of layers to supplement OE-Core
 with additional packages, Each layer have designated maintainer
meta-filesystems/README +1 -0
index 61b8a24bd4..3078cecd98 100644
@@ -25,6 +25,7 @@ OpenEmbedded development mailing list ([email protected]
 with '[meta-filesystems][kirkstone]' in the subject.
 
 Layer maintainer: Gyorgy Sarvari <[email protected]>
+Layer maintainer emeritus: Armin Kuster <[email protected]>
 
 When sending single patches, please use something like:
 
meta-gnome/README +1 -0
index 112c1a6887..337eeb6b5f 100644
@@ -14,3 +14,4 @@ When sending single patches, please using something like:
 git send-email -M -1 --to [email protected] --subject-prefix='meta-gnome][kirkstone][PATCH'
 
 Layer maintainer: Gyorgy Sarvari <[email protected]>
+Layer maintainer emeritus: Armin Kuster <[email protected]>
meta-initramfs/README +1 -1
index 63c0ef1dcd..55da4313f0 100644
@@ -25,7 +25,7 @@ When sending single patches, please using something like:
 git send-email -M -1 --to [email protected] --subject-prefix='meta-initramfs][kirkstone][PATCH'
 
 Interm layer maintainer: Gyorgy Sarvari <[email protected]>
-
+Layer maintainer emeritus: Armin Kuster <[email protected]>
 
 License
 -------
meta-multimedia/README +1 -0
index 5a5d2fb8b3..376f48df8e 100644
@@ -15,3 +15,4 @@ git send-email -M -1 --to [email protected] --subject-pr
 You are encouraged to fork the mirror on github https://github.com/openembedded/meta-openembedded to share your patches, this is preferred for patch sets consisting of more than one patch. Other services like GitLab, repo.or.cz or self hosted setups are of course accepted as well, 'git fetch <remote>' works the same on all of them. We recommend github because it is free, easy to use, has been proven to be reliable and has a really good web GUI.
 
 Layer maintainer: Gyorgy Sarvari <[email protected]>
+Layer maintainer emeritus: Armin Kuster <[email protected]>
meta-networking/README +1 -1
index 7230a002d4..7b5b6d067f 100644
@@ -33,7 +33,7 @@ branch: kirkstone
 Maintenance
 -----------
 Layer maintainers: Gyorgy Sarvari <[email protected]>
-
+Layer maintainer emeritus: Armin Kuster <[email protected]>
 
 Please see the MAINTAINERS file for information on contacting the
 maintainers of this layer, as well as instructions for submitting patches. 
meta-oe/README +2 -1
index c8741b71b8..5d8753bd1e 100644
@@ -28,4 +28,5 @@ Other services like GitLab, repo.or.cz or self-hosted setups are of course accep
 'git fetch <remote>' works the same on all of them. We recommend GitHub because it is free, easy
 to use, has been proven to be reliable and has a really good web GUI.
 
-layer maintainer: Gyorgy Sarvari <[email protected]>
+Layer maintainer: Gyorgy Sarvari <[email protected]>
+Layer maintainer emeritus: Armin Kuster <[email protected]>
meta-perl/README +1 -1
index 89400933ac..93f371413e 100644
@@ -79,7 +79,7 @@ When sending single patches, please using something like:
 git send-email -M -1 --to [email protected] --subject-prefix='meta-perl][kirkstone][PATCH'
 
 Layer maintainers: Gyorgy Sarvari <[email protected]>
-    
+Layer maintainer emeritus: Armin Kuster <[email protected]>
 
 License
 -------
meta-python/README +1 -0
index d1b52201a7..fc1549856f 100644
@@ -42,3 +42,4 @@ Maintenance
 -------------------------
 
 Layer maintainer: Gyorgy Sarvari <[email protected]>
+Layer maintainer emeritus: Armin Kuster <[email protected]>
meta-webserver/README +1 -1
index e1fe827be9..c7836db11f 100644
@@ -56,7 +56,7 @@ When sending single patches, please using something like:
 git send-email -M -1 --to [email protected] --subject-prefix='meta-webserver][kirkstone][PATCH'
 
 Layer maintainer: Gyorgy Sarvari <[email protected]>
-
+Layer maintainer emeritus: Armin Kuster <[email protected]>
 
 License
 -------
meta-xfce/README +1 -0
index d0434af53b..b712912330 100644
@@ -19,3 +19,4 @@ When sending single patches, please using something like:
 git send-email -M -1 --to [email protected] --subject-prefix='meta-xfce][kirkstone][PATCH'
 
 Layer maintainer: Gyorgy Sarvari <[email protected]>
+Layer maintainer emeritus: Armin Kuster <[email protected]>