From 7d3ca651729de1f6e236e98653b6a1312017e072 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 26 Nov 2011 17:46:59 +0100 Subject: [PATCH] instsoft.GRMLBASE: do not run explicit apt-get update any longer --- etc/grml/fai/config/hooks/instsoft.GRMLBASE | 9 --------- 1 file changed, 9 deletions(-) diff --git a/etc/grml/fai/config/hooks/instsoft.GRMLBASE b/etc/grml/fai/config/hooks/instsoft.GRMLBASE index 9d37e12..4b36e51 100755 --- a/etc/grml/fai/config/hooks/instsoft.GRMLBASE +++ b/etc/grml/fai/config/hooks/instsoft.GRMLBASE @@ -60,15 +60,6 @@ if [ "$FAI_ACTION" = "softupdate" ] ; then //DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2"; EOF - # run it on our own, as updatebase is used at the wrong stage for our needs, - # see ${GRML_FAI_CONFIG}/hooks/updatebase.GRMLBASE - # the apt-get update might return an error if there's for example - # a hashsum mismatch on Debian mirror sources, we might want to continue - # but should warn the user - if ! $ROOTCMD apt-get update ; then - echo "Warning: there was an error executing apt-get update, continuing anyway." - fi - # work around /etc/kernel/postinst.d/zz-update-grub failing # inside openvz environment, see #597084 if ! $ROOTCMD dpkg-divert --list | grep -q '/usr/sbin/update-grub' ; then -- 2.1.4