2 # Filename: /etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs
3 # Purpose: retreive 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 # Latest change: Sun Oct 14 21:08:16 CEST 2007 [mika]
8 ################################################################################
12 if ifclass RELEASE ; then
15 [ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf
16 [ -n "$HOSTNAME" ] || HOSTNAME=grml
18 if [ -x $target/usr/sbin/apt-listbugs -a -x $target/usr/bin/apt-show-source ] && \
19 [ -x $target/etc/apt/grml/listbugs ] ; then
20 for severity in critical grave serious ; do
21 SEVERITY=$severity $ROOTCMD /etc/apt/grml/listbugs > \
22 /var/log/fai/dirinstall/$HOSTNAME/bugs.${severity} || true # make sure it does not fail
28 ## END OF FILE #################################################################