From e48b934c833576e4354e8b68efadb0f6be0fa382 Mon Sep 17 00:00:00 2001 From: Xiangyu Chen Date: Tue, 20 Dec 2022 10:24:36 +0800 Subject: criu: avoid textrel QA Issue warning 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 Signed-off-by: Bruce Ashfield --- 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 733e9119..3d25aa27 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 -- cgit v1.2.3-54-g00ecf