From 9b4f4a4961b8935e3a3906f05fb17aca0ad2b847 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 1 Nov 2009 12:10:28 +0100 Subject: [PATCH] config/hooks/instsoft.GRMLBASE: drop insserv package --- debian/changelog | 8 +++++--- etc/grml/fai/config/hooks/instsoft.GRMLBASE | 5 +++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index df6c0ef..25cc1ff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,10 +7,12 @@ grml-live (0.9.30) UNRELEASED; urgency=low * Apply patch by Christian Hofstaedtler (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 Sun, 01 Nov 2009 11:31:44 +0100 + -- Michael Prokop Sun, 01 Nov 2009 12:09:58 +0100 grml-live (0.9.29) unstable; urgency=low diff --git a/etc/grml/fai/config/hooks/instsoft.GRMLBASE b/etc/grml/fai/config/hooks/instsoft.GRMLBASE index e92ec5e..b192b8a 100755 --- a/etc/grml/fai/config/hooks/instsoft.GRMLBASE +++ b/etc/grml/fai/config/hooks/instsoft.GRMLBASE @@ -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 -- 2.1.4