From 7a9a250efbe469b6f67c533743ba846a3982261a Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 27 Mar 2014 09:20:53 +0100 Subject: [PATCH] Remove /etc/resolvconf/resolv.conf.d/original during cleanup This file provides the original content of the system where the build is running from, there's no reason we ship this with our ISOs. Thanks: Evgeni Golov for the pointer --- etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot index 8b3a8bf..b7f93e0 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot +++ b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot @@ -200,6 +200,7 @@ else # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN EOF fi + rm -f ${target}/etc/resolvconf/resolv.conf.d/original rm -f ${target}/etc/resolv.conf $ROOTCMD ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf fi -- 2.1.4