config/hooks/instsoft.GRMLBASE: force installation of file-rc
authorMichael Prokop <mika@grml.org>
Sun, 1 Nov 2009 10:32:19 +0000 (11:32 +0100)
committerMichael Prokop <mika@grml.org>
Sun, 1 Nov 2009 10:32:19 +0000 (11:32 +0100)
debian/changelog
etc/grml/fai/config/hooks/instsoft.GRMLBASE

index 4bf6f6f..df6c0ef 100644 (file)
@@ -7,8 +7,10 @@ grml-live (0.9.30) UNRELEASED; urgency=low
   * Apply patch by Christian Hofstaedtler <ch+git@zeha.at> (thanks!):
     Ensure /etc/mtab is always present. Newer debootstrap versions
     no longer create /etc/mtab, so we need to provide our own.
   * Apply patch by Christian Hofstaedtler <ch+git@zeha.at> (thanks!):
     Ensure /etc/mtab is always present. Newer debootstrap versions
     no longer create /etc/mtab, so we need to provide our own.
+  * config/hooks/instsoft.GRMLBASE: force installation of file-rc using
+    aptitude's Aptitude::ProblemResolver::Keep-All-Tier option.
 
 
- -- Michael Prokop <mika@grml.org>  Fri, 30 Oct 2009 19:48:50 +0100
+ -- Michael Prokop <mika@grml.org>  Sun, 01 Nov 2009 11:31:44 +0100
 
 grml-live (0.9.29) unstable; urgency=low
 
 
 grml-live (0.9.29) unstable; urgency=low
 
index df99f5b..e92ec5e 100755 (executable)
@@ -127,7 +127,9 @@ fi
 # make sure we have file-rc available before
 # package_config/GRML is being executed:
 $ROOTCMD apt-get update
 # make sure we have file-rc available before
 # package_config/GRML is being executed:
 $ROOTCMD apt-get update
-$ROOTCMD aptitude -f -y install file-rc
+# 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
 
 # we definitely don't want to fail running fai dirinstall just
 # because of some well known bugs:
 
 # we definitely don't want to fail running fai dirinstall just
 # because of some well known bugs: