1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-02 01:19:52 +00:00

Remove exclude hack in insane.bbclass and replace it with something a little less foul. This involces adding INSANE_SKIP_package=1 statements to the relevant .bb files

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1197 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Ross Burton
2007-01-22 20:11:19 +00:00
parent 539b0f853a
commit 4292e8199b
5 changed files with 15 additions and 7 deletions
+2 -7
View File
@@ -101,7 +101,7 @@ def package_qa_check_rdepends(pkg, workdir, d):
bb.data.setVar('ROOT', '', localdata)
bb.data.setVar('ROOT_%s' % pkg, root, localdata)
pkgname = bb.data.getVar('PKG_%s' % pkg, localdata, 1)
pkgname = bb.data.getVar('PKG_%s' % pkg, localdata, True)
if not pkgname:
pkgname = pkg
bb.data.setVar('PKG', pkgname, localdata)
@@ -134,12 +134,7 @@ python do_package_qa () {
return
for package in packages.split():
# Nasty hack for now until we can mark exclusions in the packages.
# db has a unusual versioning scheme. Cannot fix this.
# gcc contains symlinks to other packages. Cannot fix.
# elfutils has symlinks to point to correct .so files. Cannot fix.
# networkmanager needs to be split into app/lib packages. Can fix.
if package in [ 'db', 'gcc', 'elfutils', 'networkmanager' ]:
if bb.data.getVar('INSANE_SKIP_' + package, d, True):
bb.note("Package: %s (skipped)" % package)
continue