[OE-core] [master][morty][PATCH v2] bitbake.conf: skip file-rdeps check for license packages

Jagadeesh Krishnanjanappa jkrishnanjanappa at mvista.com
Fri Nov 4 06:11:06 UTC 2016


The license files containing hashbash, print out below
warning messages; if the explicit RDEPENDS is not
specified on bash package. Adding "file-rdeps" to INSANE_SKIP
in global config file, silence these warnings occuring in
other recipes. Moreover the RDEPENDS package will be automatically
pulled in during creation of rootfs image, even explicit RDEPENDS
is missing.

-- snip --
WARNING: hdparm-9.48-r0 do_package_qa: QA Issue: /usr/share/licenses/hdparm/wiper.sh contained in package hdparm-lic requires /bin/bash, but no providers found in RDEPENDS_hdparm-lic? [file-rdeps]
WARNING: ltp-20160126-r0 do_package_qa: QA Issue: /opt/ltp/share/licenses/ltp/run_freezer.sh contained in package ltp-lic requires /bin/bash, but no providers found in RDEPENDS_ltp-lic? [file-rdeps]
-- snip --

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa at mvista.com>
---
 meta/conf/bitbake.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 54a587f..5ccaafa 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -830,3 +830,7 @@ BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc deps depends \
 
 MLPREFIX ??= ""
 MULTILIB_VARIANTS ??= ""
+
+# Add file-rdeps to INSANE_SKIP, to solve QA WARNING as some of the 
+# license files contain hashbang.
+INSANE_SKIP_${PN}-lic = "file-rdeps"
-- 
2.7.4




More information about the Openembedded-core mailing list