Skip to contentSkip to conversation

criu: avoid textrel QA Issue warning

PATCH In review Xiangyu Chen 2 participants 2 messages Dec 20, 2022 – Dec 22, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 criu: avoid textrel QA Issue warning

From: Xiangyu Chen <[email protected]>

Fix some of arch such as arm/aarch64 would report QA warning as below:
WARNING: criu-3.17.1+gitAUTOINC+d46f40f4ff-r0 do_package_qa: QA Issue: criu: ELF binary /usr/sbin/criu has relocations in .text [textrel]

---
 recipes-containers/criu/criu_git.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-containers/criu/criu_git.bb +3 -0
index 733e911..3d25aa2 100644
@@ -66,6 +66,9 @@ PACKAGECONFIG[selinux] = ",,libselinux"
 
 CLEANBROKEN = "1"
 
+# WARNING: criu-3.17.1 do_package_qa: QA Issue: criu: ELF binary /usr/sbin/criu has relocations in .text [textrel]
+INSANE_SKIP:${PN} += "textrel"
+
 do_compile:prepend() {
     rm -rf ${S}/images/google/protobuf/descriptor.proto
     ln -s  ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto
Signature · 1 line
2.34.1
#1 lore raw

merged.

Bruce

In message: [meta-virtualization][PATCH] criu: avoid textrel QA Issue warning

Quoted 37 lines · on 20/12/2022 Xiangyu Chen wrote:

From: Xiangyu Chen <[email protected]>

Fix some of arch such as arm/aarch64 would report QA warning as below:
WARNING: criu-3.17.1+gitAUTOINC+d46f40f4ff-r0 do_package_qa: QA Issue: criu: ELF binary /usr/sbin/criu has relocations in .text [textrel]

---
 recipes-containers/criu/criu_git.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-containers/criu/criu_git.bb +3 -0
index 733e911..3d25aa2 100644
@@ -66,6 +66,9 @@ PACKAGECONFIG[selinux] = ",,libselinux"
 
 CLEANBROKEN = "1"
 
+# WARNING: criu-3.17.1 do_package_qa: QA Issue: criu: ELF binary /usr/sbin/criu has relocations in .text [textrel]
+INSANE_SKIP:${PN} += "textrel"
+
 do_compile:prepend() {
     rm -rf ${S}/images/google/protobuf/descriptor.proto
     ln -s  ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto
Signature · 11 lines
2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7775): https://lists.yoctoproject.org/g/meta-virtualization/message/7775
Mute This Topic: https://lists.yoctoproject.org/mt/95779051/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-