summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-extras/packages/networkmanager/networkmanager_svn.bb4
-rw-r--r--meta/classes/insane.bbclass9
-rw-r--r--meta/packages/db/db_4.2.52.bb3
-rw-r--r--meta/packages/elfutils/elfutils_0.108.bb3
-rw-r--r--meta/packages/gcc/gcc-package.inc3
5 files changed, 15 insertions, 7 deletions
diff --git a/meta-extras/packages/networkmanager/networkmanager_svn.bb b/meta-extras/packages/networkmanager/networkmanager_svn.bb
index e0e19f8cfd..f3ebf48a88 100644
--- a/meta-extras/packages/networkmanager/networkmanager_svn.bb
+++ b/meta-extras/packages/networkmanager/networkmanager_svn.bb
@@ -56,3 +56,7 @@ FILES_${PN} += "${datadir} \
56FILES_${PN}-dev = "${incdir} \ 56FILES_${PN}-dev = "${incdir} \
57 ${libdir}/*.a \ 57 ${libdir}/*.a \
58 ${libdir}/pkgconfig" 58 ${libdir}/pkgconfig"
59
60# The networkmanager package needs to be split into app/lib/dev packages. For
61# now, silence insane.
62INSANE_SKIP_${PN} = "1"
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
diff --git a/meta/packages/db/db_4.2.52.bb b/meta/packages/db/db_4.2.52.bb
index 05565287f5..5c674f1aa8 100644
--- a/meta/packages/db/db_4.2.52.bb
+++ b/meta/packages/db/db_4.2.52.bb
@@ -95,3 +95,6 @@ do_install_append() {
95 mv "${D}/${prefix}/docs" "${D}/${docdir}" 95 mv "${D}/${prefix}/docs" "${D}/${docdir}"
96 fi 96 fi
97} 97}
98
99# The db package contains symlinks that trip up insane
100INSANE_SKIP_db = "1"
diff --git a/meta/packages/elfutils/elfutils_0.108.bb b/meta/packages/elfutils/elfutils_0.108.bb
index 83acc7dccb..a1f7b2fc5c 100644
--- a/meta/packages/elfutils/elfutils_0.108.bb
+++ b/meta/packages/elfutils/elfutils_0.108.bb
@@ -34,3 +34,6 @@ do_stage () {
34 install -m 0644 ${S}/libdw/libdw.h ${STAGING_INCDIR}/elfutils/ 34 install -m 0644 ${S}/libdw/libdw.h ${STAGING_INCDIR}/elfutils/
35 install -m 0644 ${S}/libasm/libasm.h ${STAGING_INCDIR}/elfutils/ 35 install -m 0644 ${S}/libasm/libasm.h ${STAGING_INCDIR}/elfutils/
36} 36}
37
38# The elfutils package contains symlinks that trip up insane
39INSANE_SKIP_elfutils = "1"
diff --git a/meta/packages/gcc/gcc-package.inc b/meta/packages/gcc/gcc-package.inc
index 7dbb2acc35..22c1d809db 100644
--- a/meta/packages/gcc/gcc-package.inc
+++ b/meta/packages/gcc/gcc-package.inc
@@ -107,3 +107,6 @@ do_install () {
107 ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${base_libdir}/cpp 107 ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${base_libdir}/cpp
108 ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${bindir}/cpp 108 ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${bindir}/cpp
109} 109}
110
111# The gcc package contains symlinks that trip up insane
112INSANE_SKIP_${PN} = "1"