X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Finstsoft.GRMLBASE;h=e92ec5ede74f8573c1abece45151667f7b903db3;hb=91d417296f39959abc322089fcafd9bdf1ea0c82;hp=a678e38560f5592bc14eda175ae78198ef944d92;hpb=088fef04f9106288d97830ea81375ec80f095286;p=grml-live.git diff --git a/etc/grml/fai/config/hooks/instsoft.GRMLBASE b/etc/grml/fai/config/hooks/instsoft.GRMLBASE index a678e38..e92ec5e 100755 --- a/etc/grml/fai/config/hooks/instsoft.GRMLBASE +++ b/etc/grml/fai/config/hooks/instsoft.GRMLBASE @@ -58,6 +58,9 @@ EOF rm $target/etc/apt/sources.list fi cp /etc/grml/fai/apt/sources.list $target/etc/apt/sources.list.d/grml-live.list + if [ -r $target/etc/apt/sources.list.d/grml.list ] ; then + mv $target/etc/apt/sources.list.d/grml.list $target/etc/apt/sources.list.d/grml.unused + fi fi # run it on our own, as updatebase is used at the wrong stage for our needs, @@ -124,7 +127,9 @@ fi # 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: