Is there any way to disable do_package_qa
step during bitbake
Actually I have a precompiled binary which I want to copy to my rootfs. I have tried install
as well as cp
in the do_install
section of my recipe.
In both the cases, I am getting QA issue which complains about libQt5Qml.so
and libQt5Quick.so
not being found in RDEPENDS
.
I have tried INSANE_SKIP_${PN}
, RDEPENDS_${PN}
and DEPENDS
to suppress the errors but I am not able to do so.
Is there any way with which I can compile my recipe ?
Recipe
DESCRIPTION = "..."
LICENSE = "CLOSED"
RDEPENDS_${PN} = "qtbase"
SRC_URI = "file://hello.c \
file://basic \
"
S = "${WORKDIR}"
do_compile() {
${CC} hello.c -o hello
}
do_install() {
install -d ${D}/opt/mybin/
install -m 0755 hello ${D}/opt/mybin/
install -m 0755 basic ${D}/opt/mybin/
}
FILES_${PN} = "/opt/mybin/"
INSANE_SKIP_${PN} = "ldflags"
Error
ERROR: my-binary-1.0-r0 do_package_qa: QA Issue: /opt/mybin/basic contained in package my-binary requires libQt5Qml.so.5(Qt_5), but no providers found in RDEPENDS_my-binary? [file-rdeps]
ERROR: my-binary-1.0-r0 do_package_qa: QA Issue: /opt/mybin/basic contained in package my-binary requires libQt5Quick.so.5(Qt_5), but no providers found in RDEPENDS_my-binary? [file-rdeps]
INSANE_SKIP_${PN} = "file-rdeps"
might help to fix the error.
Reported issue is something similar to below link Errors including shared prebuilt libraries in petalinux