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]

Signed-off-by: Xiangyu Chen <[email protected]>
---
 recipes-containers/criu/criu_git.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/recipes-containers/criu/criu_git.bb 
b/recipes-containers/criu/criu_git.bb
index 733e911..3d25aa2 100644
--- a/recipes-containers/criu/criu_git.bb
+++ b/recipes-containers/criu/criu_git.bb
@@ -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
-- 
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/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to