X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Finstsoft.GRMLBASE;h=620c101aefde8f50a467e17087b6484508fa9d5e;hp=0d6cae5d9c3233e4dd9b46b79b147a1d17987a89;hb=8075b3f8fc4ef5aa545ba27b3066f302aeb1ecea;hpb=465346b41da7ba02a7609de03a7e49d325295c1c diff --git a/etc/grml/fai/config/hooks/instsoft.GRMLBASE b/etc/grml/fai/config/hooks/instsoft.GRMLBASE index 0d6cae5..620c101 100755 --- a/etc/grml/fai/config/hooks/instsoft.GRMLBASE +++ b/etc/grml/fai/config/hooks/instsoft.GRMLBASE @@ -59,14 +59,14 @@ EOF # install software. $ROOTCMD apt-get update - # newer aptitude versions won't remove essential packages using - # 'aptitude -f -y install file-rc' anymore, therefore force it: - $ROOTCMD aptitude -o Aptitude::ProblemResolver::Keep-All-Tier=60000 -f -y install file-rc - if ! $ROOTCMD test -x /usr/bin/aptitude ; then $ROOTCMD apt-get -y install aptitude fi + # newer aptitude versions won't remove essential packages using + # 'aptitude -f -y install file-rc' anymore, therefore force it: + $ROOTCMD aptitude -o Aptitude::ProblemResolver::Keep-All-Tier=60000 -f -y install file-rc systemd-sysv- + # make sure we can upgrade automatically, # even with unsigned repos, but only if user wants it if [ "${FAI_ALLOW_UNSIGNED:-}" = "1" ] ; then @@ -120,7 +120,7 @@ fi # newer aptitude versions won't remove essential packages using # 'aptitude -f -y install file-rc' anymore, therefore force it via: -$ROOTCMD aptitude -o Aptitude::ProblemResolver::Keep-All-Tier=60000 -f -y install file-rc +$ROOTCMD aptitude -o Aptitude::ProblemResolver::Keep-All-Tier=60000 -f -y install file-rc systemd-sysv- # }}} # we definitely don't want to fail running fai dirinstall just