diff options
-rw-r--r-- | meta/classes/image-swab.bbclass | 2 | ||||
-rw-r--r-- | meta/conf/swabber/Ubuntu-10.04.1-64/blacklist | 6 | ||||
-rw-r--r-- | meta/conf/swabber/Ubuntu-10.04.1-64/filters | 7 | ||||
-rw-r--r-- | meta/conf/swabber/Ubuntu-10.04.1-64/whitelist | 23 | ||||
-rw-r--r-- | meta/conf/swabber/generic/blacklist | 2 | ||||
-rw-r--r-- | meta/conf/swabber/generic/filters | 10 | ||||
-rw-r--r-- | meta/conf/swabber/generic/whitelist | 15 |
7 files changed, 64 insertions, 1 deletions
diff --git a/meta/classes/image-swab.bbclass b/meta/classes/image-swab.bbclass index fc1eccb7f4..9ddd1c986c 100644 --- a/meta/classes/image-swab.bbclass +++ b/meta/classes/image-swab.bbclass | |||
@@ -74,7 +74,7 @@ do_generate_swabber_report () { | |||
74 | 74 | ||
75 | if [ "$(ls -A ${HOST_DATA})" ]; then | 75 | if [ "$(ls -A ${HOST_DATA})" ]; then |
76 | echo "Generating swabber report" | 76 | echo "Generating swabber report" |
77 | 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 | 77 | 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} |
78 | else | 78 | else |
79 | echo "No host data, cannot generate swabber report." | 79 | echo "No host data, cannot generate swabber report." |
80 | fi | 80 | 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 index 0000000000..5fdb8f2b9a --- /dev/null +++ b/meta/conf/swabber/Ubuntu-10.04.1-64/blacklist | |||
@@ -0,0 +1,6 @@ | |||
1 | libneon27-gnutls | ||
2 | openjdk-6-jre-headless | ||
3 | openjdk-6-jre-lib | ||
4 | openjdk-6-jre | ||
5 | libdbus-1-3 | ||
6 | 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 index 0000000000..a447f70e96 --- /dev/null +++ b/meta/conf/swabber/Ubuntu-10.04.1-64/filters | |||
@@ -0,0 +1,7 @@ | |||
1 | /usr/local/lib/python2.6 | ||
2 | /usr/lib/python2.6 | ||
3 | /usr/lib/pymodules/python2.6 | ||
4 | /usr/lib/perl/5.10 | ||
5 | # which is part of the debianutils packages, but we don't want to put the entire | ||
6 | # debianutils package in the whitelist. | ||
7 | /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 index 0000000000..f0fe9633dc --- /dev/null +++ b/meta/conf/swabber/Ubuntu-10.04.1-64/whitelist | |||
@@ -0,0 +1,23 @@ | |||
1 | base-files | ||
2 | dash | ||
3 | libacl1 | ||
4 | libattr1 | ||
5 | libbz2-1.0 | ||
6 | libc6 | ||
7 | libc-bin | ||
8 | libglib2.0-0 | ||
9 | libncurses5 | ||
10 | libselinux1 | ||
11 | libsqlite3-0 | ||
12 | libssl0.9.8 | ||
13 | mime-support | ||
14 | perl-base | ||
15 | python2.6 | ||
16 | python2.6-minimal | ||
17 | python-apport | ||
18 | python-gst0.10 | ||
19 | python-imaging | ||
20 | python-minimal | ||
21 | python-support | ||
22 | python-zope.interface | ||
23 | zlib1g | ||
diff --git a/meta/conf/swabber/generic/blacklist b/meta/conf/swabber/generic/blacklist new file mode 100644 index 0000000000..396bcb4bf2 --- /dev/null +++ b/meta/conf/swabber/generic/blacklist | |||
@@ -0,0 +1,2 @@ | |||
1 | udev | ||
2 | dkpg | ||
diff --git a/meta/conf/swabber/generic/filters b/meta/conf/swabber/generic/filters new file mode 100644 index 0000000000..3b10fcb377 --- /dev/null +++ b/meta/conf/swabber/generic/filters | |||
@@ -0,0 +1,10 @@ | |||
1 | /tmp | ||
2 | /etc/localtime | ||
3 | /etc/ld.so.cache | ||
4 | /etc/ld.so.conf | ||
5 | /etc/passwd | ||
6 | /etc/group | ||
7 | /etc/nsswitch.conf | ||
8 | /proc | ||
9 | /dev/null | ||
10 | /dev/tty | ||
diff --git a/meta/conf/swabber/generic/whitelist b/meta/conf/swabber/generic/whitelist new file mode 100644 index 0000000000..48ec2af2c8 --- /dev/null +++ b/meta/conf/swabber/generic/whitelist | |||
@@ -0,0 +1,15 @@ | |||
1 | bash | ||
2 | bzip2 | ||
3 | ccache | ||
4 | coreutils | ||
5 | cpp | ||
6 | file | ||
7 | findutils | ||
8 | gawk | ||
9 | grep | ||
10 | hostname | ||
11 | make | ||
12 | sed | ||
13 | tar | ||
14 | util-linux | ||
15 | zlib1g | ||