From 06cec9aaad60a380b76958916c9f5357013ea010 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 4 Nov 2007 01:43:38 +0100 Subject: [PATCH 1/1] Copy /etc/resolv.conf to chroot for class RELEASE --- debian/changelog | 7 +++++++ etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 66b5b01..ee203b7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +grml-live (0.0.8) unstable; urgency=low + + * Copy /etc/resolv.conf to chroot in + /etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs + + -- Michael Prokop Sun, 04 Nov 2007 01:43:06 +0100 + grml-live (0.0.7) unstable; urgency=low The "holidays? what? are you joking?!"-release. diff --git a/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs b/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs index a9bedc4..5aabce6 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs +++ b/etc/grml/fai/config/scripts/GRMLBASE/96-apt-listbugs @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Sun Oct 14 21:08:16 CEST 2007 [mika] +# Latest change: Sun Nov 04 01:42:58 CET 2007 [mika] ################################################################################ set -e @@ -15,6 +15,10 @@ if ifclass RELEASE ; then [ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf [ -n "$HOSTNAME" ] || HOSTNAME=grml + if [ -r /etc/resolv.conf ] ; then + cat /etc/resolv.conf >> $target/etc/resolv.conf + fi + if [ -x $target/usr/sbin/apt-listbugs -a -x $target/usr/bin/apt-show-source ] && \ [ -x $target/etc/apt/grml/listbugs ] ; then for severity in critical grave serious ; do -- 2.1.4