X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Finstsoft.GRMLBASE;h=4b36e51e819b3b7d020104ed4371905674da0e17;hp=9d37e126b259acad919cc09662f5691420a4f27c;hb=7d3ca651729de1f6e236e98653b6a1312017e072;hpb=94a95c08610cd864daf93d760505efd626920934 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