summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-01-22 20:11:19 +0000
committerRoss Burton <ross@openedhand.com>2007-01-22 20:11:19 +0000
commit4292e8199b93ff3a6285319ed53b2e98de7307ea (patch)
tree511a51dd1f816d1ff4b63bbf67bd16cf292f67bc /meta/classes
parent539b0f853acf8d142a08685e1e02dd87e8be59f6 (diff)
downloadpoky-4292e8199b93ff3a6285319ed53b2e98de7307ea.tar.gz
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
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/insane.bbclass9
1 files changed, 2 insertions, 7 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index b3fc72a465..09728f850e 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -101,7 +101,7 @@ def package_qa_check_rdepends(pkg, workdir, d):
101 101
102 bb.data.setVar('ROOT', '', localdata) 102 bb.data.setVar('ROOT', '', localdata)
103 bb.data.setVar('ROOT_%s' % pkg, root, localdata) 103 bb.data.setVar('ROOT_%s' % pkg, root, localdata)
104 pkgname = bb.data.getVar('PKG_%s' % pkg, localdata, 1) 104 pkgname = bb.data.getVar('PKG_%s' % pkg, localdata, True)
105 if not pkgname: 105 if not pkgname:
106 pkgname = pkg 106 pkgname = pkg
107 bb.data.setVar('PKG', pkgname, localdata) 107 bb.data.setVar('PKG', pkgname, localdata)
@@ -134,12 +134,7 @@ python do_package_qa () {
134 return 134 return
135 135
136 for package in packages.split(): 136 for package in packages.split():
137 # Nasty hack for now until we can mark exclusions in the packages. 137 if bb.data.getVar('INSANE_SKIP_' + package, d, True):
138 # db has a unusual versioning scheme. Cannot fix this.
139 # gcc contains symlinks to other packages. Cannot fix.
140 # elfutils has symlinks to point to correct .so files. Cannot fix.
141 # networkmanager needs to be split into app/lib packages. Can fix.
142 if package in [ 'db', 'gcc', 'elfutils', 'networkmanager' ]:
143 bb.note("Package: %s (skipped)" % package) 138 bb.note("Package: %s (skipped)" % package)
144 continue 139 continue
145 140