xvisor: skip QA checks ldflags and textrel
PATCH 1/1 xvisor: skip QA checks ldflags and textrel
* feel free to fix it properly, I don't use xvisor at all it just shown these 2 errors in my aarch64 world builds and this recipe needs more love than just these 2 issues like setting PV to something better than "git"
Signed-off-by Martin Jansa <[email protected]>
--- recipes-extended/xvisor/xvisor_git.bb | 4 ++++ 1 file changed, 4 insertions(+)
recipes-extended/xvisor/xvisor_git.bb +4 -0
@@ -49,3 +49,7 @@ FILES_${PN} += "/*.dtb" COMPATIBLE_HOST = "(aarch64|riscv64|riscv32).*" INHIBIT_PACKAGE_STRIP = "1" + +# ERROR: xvisor-git-r0 do_package_qa: QA Issue: File /vmm.elf in package xvisor doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags] +# ERROR: xvisor-git-r0 do_package_qa: QA Issue: xvisor: ELF binary /vmm.elf has relocations in .text [textrel] +INSANE_SKIP_${PN} += "ldflags textrel"
Signature · 1 line
2.27.0
Quoted 7 lines · Martin Jansa
* feel free to fix it properly, I don't use xvisor at all it just shown these 2 errors in my aarch64 world builds and this recipe needs more love than just these 2 issues like setting PV to something better than "git"
Signed-off-by Martin Jansa <[email protected]>
Reviewed-by Alistair Francis <[email protected]>
Just FYI when the next QEMU release happens I'll update Xvisor. At that time I can try and cleanup the recipe a bit more to improve some of these errors.
Alistair
Quoted 22 lines
--- recipes-extended/xvisor/xvisor_git.bb | 4 ++++ 1 file changed, 4 insertions(+)recipes-extended/xvisor/xvisor_git.bb +4
-1@@ -49,3 +49,7 @@ FILES_${PN} += "/*.dtb" COMPATIBLE_HOST = "(aarch64|riscv64|riscv32).*" INHIBIT_PACKAGE_STRIP = "1" + +# ERROR: xvisor-git-r0 do_package_qa: QA Issue: File /vmm.elf in package xvisor doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags] +# ERROR: xvisor-git-r0 do_package_qa: QA Issue: xvisor: ELF binary /vmm.elf has relocations in .text [textrel] +INSANE_SKIP_${PN} += "ldflags textrel" --2.27.0