Remove /etc/resolvconf/resolv.conf.d/original during cleanup
authorMichael Prokop <mika@grml.org>
Thu, 27 Mar 2014 08:20:53 +0000 (09:20 +0100)
committerMichael Prokop <mika@grml.org>
Thu, 27 Mar 2014 08:20:55 +0000 (09:20 +0100)
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

index 8b3a8bf..b7f93e0 100755 (executable)
@@ -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