2 # Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/96-apt-listbugs
3 # Purpose: retrieve list of bugreports of installed packages inside chroot
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 ################################################################################
12 if [ -r $target/etc/apt/apt.conf.d/10apt-listbugs ] ; then
13 if [ -x $target/usr/sbin/apt-listbugs ] ; then
14 sed -i 's#//DPkg::#DPkg::#' $target/etc/apt/apt.conf.d/10apt-listbugs
19 if ifclass RELEASE ; then
21 if [ -x $target/usr/sbin/apt-listbugs -a -x $target/usr/bin/apt-show-source ] && \
22 [ -x $target/etc/apt/grml/listbugs ] ; then
23 for severity in critical grave serious ; do
24 SEVERITY=$severity $ROOTCMD /etc/apt/grml/listbugs > \
25 $LOGDIR/bugs.${severity} || true # make sure it does not fail
31 ## END OF FILE #################################################################
32 # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2