criu: avoid textrel QA Issue warning
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]
Signed-off-by Xiangyu Chen <[email protected]>
--- recipes-containers/criu/criu_git.bb | 3 +++ 1 file changed, 3 insertions(+)
recipes-containers/criu/criu_git.bb +3 -0
@@ -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
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-r0do_package_qa: QA Issue: criu: ELF binary/usr/sbin/criuhas relocations in .text [textrel]Signed-off-by Xiangyu Chen <[email protected]>--- recipes-containers/criu/criu_git.bb | 3 +++ 1 file changed, 3 insertions(+)recipes-containers/criu/criu_git.bb +3
-0@@ -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.protoSignature · 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]] -=-=-=-=-=-=-=-=-=-=-=-