summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiangyu Chen <xiangyu.chen@windriver.com>2022-12-20 10:24:36 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-12-22 10:32:04 -0500
commite48b934c833576e4354e8b68efadb0f6be0fa382 (patch)
tree363e4c36f86f05c0946a956f8fb118830d096c53
parentd3acb1a378e644fe2784a8357390b19695640f78 (diff)
downloadmeta-virtualization-e48b934c833576e4354e8b68efadb0f6be0fa382.tar.gz
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 <xiangyu.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-containers/criu/criu_git.bb3
1 files changed, 3 insertions, 0 deletions
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"
66 66
67CLEANBROKEN = "1" 67CLEANBROKEN = "1"
68 68
69# WARNING: criu-3.17.1 do_package_qa: QA Issue: criu: ELF binary /usr/sbin/criu has relocations in .text [textrel]
70INSANE_SKIP:${PN} += "textrel"
71
69do_compile:prepend() { 72do_compile:prepend() {
70 rm -rf ${S}/images/google/protobuf/descriptor.proto 73 rm -rf ${S}/images/google/protobuf/descriptor.proto
71 ln -s ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto 74 ln -s ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto