config/hooks/instsoft.GRMLBASE: drop insserv package
authorMichael Prokop <mika@grml.org>
Sun, 1 Nov 2009 11:10:28 +0000 (12:10 +0100)
committerMichael Prokop <mika@grml.org>
Sun, 1 Nov 2009 11:39:28 +0000 (12:39 +0100)
debian/changelog
etc/grml/fai/config/hooks/instsoft.GRMLBASE

index df6c0ef..25cc1ff 100644 (file)
@@ -7,10 +7,12 @@ 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.
-  * config/hooks/instsoft.GRMLBASE: force installation of file-rc using
-    aptitude's Aptitude::ProblemResolver::Keep-All-Tier option.
+  * config/hooks/instsoft.GRMLBASE:
+    - force installation of file-rc using aptitude's
+      Aptitude::ProblemResolver::Keep-All-Tier option.
+    - drop insserv package.
 
- -- Michael Prokop <mika@grml.org>  Sun, 01 Nov 2009 11:31:44 +0100
+ -- Michael Prokop <mika@grml.org>  Sun, 01 Nov 2009 12:09:58 +0100
 
 grml-live (0.9.29) unstable; urgency=low
 
index e92ec5e..b192b8a 100755 (executable)
@@ -131,6 +131,11 @@ $ROOTCMD apt-get update
 # 'aptitude -f -y install file-rc' anymore, therefore force it:
 $ROOTCMD aptitude -o Aptitude::ProblemResolver::Keep-All-Tier=60000 -f -y install file-rc
 
+# get rid of insserv:
+if $ROOTCMD dpkg --list insserv 2>/dev/null | grep -q '^ii' ; then
+   $ROOTCMD apt-get -y --purge remove insserv
+fi
+
 # we definitely don't want to fail running fai dirinstall just
 # because of some well known bugs:
 [ -d $target/etc/apt/apt.conf.d ] || mkdir $target/etc/apt/apt.conf.d