summaryrefslogtreecommitdiff
path: root/oe-init-build-env
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-09-08 12:58:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-10 11:28:12 +0100
commitcd5e0f01cdb4e7c759c01cf3f87952a20253737c (patch)
tree6a0ab6ae55f703d313ee00c13a3f366a9dc9b399 /oe-init-build-env
parentfe4ad726d0dc63be73f885598e216b8eb927668a (diff)
downloadopenembedded-core-cd5e0f01cdb4e7c759c01cf3f87952a20253737c.tar.gz
openembedded-core-cd5e0f01cdb4e7c759c01cf3f87952a20253737c.tar.bz2
openembedded-core-cd5e0f01cdb4e7c759c01cf3f87952a20253737c.zip
insane.bbclass: add QA check: file-rdeps
The ipk or deb can't depend on file such as "/bin/bash" or "/usr/bin/perl", so it knows nothing about the pkg depends bash or perl, thus there would be dependencies problems when we run "apt-get install/remove <pkg>" on the target, this check can help us find the issues and then fix them manually. * Benefits: - Help to fix file rdepends issues for ipk and deb - Help to fix abnormal rdepends. - Help to check whether the rdepends is OK or not after build each recipe (don't have to install to the image), for example, a recipe may generate 10 binary packages, only a part of them will be installed to the image by default, we can know whether the rdepends are OK or not for the ones which are installed, but can't know the ones which are not installed, this patch can help check all the 10 binary packages' rdepends. * Basic designs: - Get all the RDEPENDS on the chain. - Get the pkg's FILERPROVIDES from oe.packagedata.read_subpkgdata() and save to set filerdepends. - Get each RPDEPENDS' FILERPROVIDES, RPROVIDES and FILERPROVIDESFLIST, and save to set rdep_rprovides. - Do the set "filerdepends -= rdep_rprovides" and QA issue if filerdepends is not null. [YOCTO #1662] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env')
0 files changed, 0 insertions, 0 deletions