Skip to contentSkip to conversation

Fix yocto-check-layer issues

PATCH New Paul Barker 1 participant 3 messages Mar 16

lore
Share & tools
lore
#0 lore raw

cover Fix yocto-check-layer issues

Running yocto-check-layer against the core metadata showed a couple of issues that are easy to fix.

---
Paul Barker (2):
oeqa: manual: Add Upstream-Status to abat patch packagegroup-core-tools-profile: Avoid dependency on systemtap for loongarch64

 meta/lib/oeqa/manual/abat.patch                                    | 3 ++-
 meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

---
base-commit: c1fb515f2a88fa0a0e95529afc07a99db001af0e
change-id: 20260316-fix-checklayer-8e9430fbdab1

Best regards,

Signature · 1 line
Paul Barker
#1 lore raw

PATCH 1/2 oeqa: manual: Add Upstream-Status to abat patch

Running check-layer on the core metadata showed that abat.patch is missing an Upstream-Status.

---
 meta/lib/oeqa/manual/abat.patch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/lib/oeqa/manual/abat.patch +2 -1
index 1541ac80cbe1..d69270aa3911 100644
@@ -1,3 +1,4 @@
+Upstream-Status: Inappropriate [OE-specific patch for manual testing]
 ########
 diff --git a/glxgears_check.sh b/glxgears_check.sh
 index 17622b8..c4d3b97 100755
@@ -61,4 +62,4 @@ index 9cf6eab..2305796 100755
      if [ -z "$XPID" ]; then
          echo "Start up X server FAIL!"
   echo
-########
\ No newline at end of file
+########
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/2 packagegroup-core-tools-profile: Avoid dependency on systemtap for loongarch64

In reply to Paul Barker

Trying to build systemtap for qemuloongarch64 gives the error:

systemtap was skipped: incompatible with host loongarch64-oe-linux (not in COMPATIBLE_HOST)

Drop this dependency from packagegroup-core-tools-profile to avoid the error.

---
 meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +1 -0
index 9c09f5ab4430..c57669f1d74b 100644
@@ -30,6 +30,7 @@ SYSTEMTAP = "systemtap"
 SYSTEMTAP:libc-musl = ""
 SYSTEMTAP:nios2 = ""
 SYSTEMTAP:riscv32 = ""
+SYSTEMTAP:loongarch64 = ""
 
 LTTNGTOOLS = "lttng-tools"
 LTTNGTOOLS:arc = ""
Signature · 1 line
2.43.0