]> code.ossystems Code Review - openembedded-core.git/commitdiff
Stop using hardcoded paths, use new Ubuntu and generic filters.
authorAlex deVries <alex.devries@windriver.com>
Mon, 15 Nov 2010 21:12:08 +0000 (16:12 -0500)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 17 Dec 2010 10:47:02 +0000 (10:47 +0000)
Signed-off-by: Alex deVries <alex.devries@windriver.com>
meta/classes/image-swab.bbclass
meta/conf/swabber/Ubuntu-10.04.1-64/blacklist [new file with mode: 0644]
meta/conf/swabber/Ubuntu-10.04.1-64/filters [new file with mode: 0644]
meta/conf/swabber/Ubuntu-10.04.1-64/whitelist [new file with mode: 0644]
meta/conf/swabber/generic/blacklist [new file with mode: 0644]
meta/conf/swabber/generic/filters [new file with mode: 0644]
meta/conf/swabber/generic/whitelist [new file with mode: 0644]

index fc1eccb7f4f67438c126c552c3e89b7e69c19bd8..9ddd1c986c7f594ebb028ef4dd6db80ed3412d30 100644 (file)
@@ -74,7 +74,7 @@ do_generate_swabber_report () {
 
   if [ "$(ls -A ${HOST_DATA})" ]; then
     echo "Generating swabber report"
-    swabber -d ${HOST_DATA} -l ${SWABBER_LOGS} -o ${SWABBER_REPORT}/report-${REPORTSTAMP}.txt -r ${SWABBER_REPORT}/extra_report-${REPORTSTAMP}.txt -c all -p ${TOPDIR} ${POKYBASE} /tmp /dev /proc /usr/lib/python2.6 /usr/local/lib/python2.6 /usr/lib/pymodules /etc/ld.so.cache
+    swabber -d ${HOST_DATA} -l ${SWABBER_LOGS} -o ${SWABBER_REPORT}/report-${REPORTSTAMP}.txt -r ${SWABBER_REPORT}/extra_report-${REPORTSTAMP}.txt -c all -p ${TOPDIR} -f ${OEROOT}/meta/conf/swabber ${TOPDIR} ${OEROOT} ${CCACHE_DIR}
   else
     echo "No host data, cannot generate swabber report."
   fi
diff --git a/meta/conf/swabber/Ubuntu-10.04.1-64/blacklist b/meta/conf/swabber/Ubuntu-10.04.1-64/blacklist
new file mode 100644 (file)
index 0000000..5fdb8f2
--- /dev/null
@@ -0,0 +1,6 @@
+libneon27-gnutls
+openjdk-6-jre-headless
+openjdk-6-jre-lib
+openjdk-6-jre
+libdbus-1-3
+libneon27-gnutls
diff --git a/meta/conf/swabber/Ubuntu-10.04.1-64/filters b/meta/conf/swabber/Ubuntu-10.04.1-64/filters
new file mode 100644 (file)
index 0000000..a447f70
--- /dev/null
@@ -0,0 +1,7 @@
+/usr/local/lib/python2.6
+/usr/lib/python2.6
+/usr/lib/pymodules/python2.6
+/usr/lib/perl/5.10
+# which is part of the debianutils packages, but we don't want to put the entire
+# debianutils package in the whitelist.
+/usr/bin/which
diff --git a/meta/conf/swabber/Ubuntu-10.04.1-64/whitelist b/meta/conf/swabber/Ubuntu-10.04.1-64/whitelist
new file mode 100644 (file)
index 0000000..f0fe963
--- /dev/null
@@ -0,0 +1,23 @@
+base-files
+dash
+libacl1
+libattr1
+libbz2-1.0
+libc6
+libc-bin
+libglib2.0-0
+libncurses5
+libselinux1
+libsqlite3-0
+libssl0.9.8
+mime-support
+perl-base
+python2.6
+python2.6-minimal
+python-apport
+python-gst0.10
+python-imaging
+python-minimal
+python-support
+python-zope.interface
+zlib1g
diff --git a/meta/conf/swabber/generic/blacklist b/meta/conf/swabber/generic/blacklist
new file mode 100644 (file)
index 0000000..396bcb4
--- /dev/null
@@ -0,0 +1,2 @@
+udev
+dkpg
diff --git a/meta/conf/swabber/generic/filters b/meta/conf/swabber/generic/filters
new file mode 100644 (file)
index 0000000..3b10fcb
--- /dev/null
@@ -0,0 +1,10 @@
+/tmp
+/etc/localtime
+/etc/ld.so.cache
+/etc/ld.so.conf
+/etc/passwd
+/etc/group
+/etc/nsswitch.conf
+/proc
+/dev/null
+/dev/tty
diff --git a/meta/conf/swabber/generic/whitelist b/meta/conf/swabber/generic/whitelist
new file mode 100644 (file)
index 0000000..48ec2af
--- /dev/null
@@ -0,0 +1,15 @@
+bash
+bzip2
+ccache
+coreutils
+cpp
+file
+findutils
+gawk
+grep
+hostname
+make
+sed
+tar
+util-linux
+zlib1g