X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Finstsoft.GRMLBASE;h=ac85fd9b1f6f07ded01171fe5d94a8f57bafa1e0;hp=15093e4996719d333e5835f8d44c2ffce8d6aaae;hb=69bd31ca5e652942465995e320b7852fc5cf2a06;hpb=36d695ba5e166bf4f9804db7d049c969573c3ab2 diff --git a/etc/grml/fai/config/hooks/instsoft.GRMLBASE b/etc/grml/fai/config/hooks/instsoft.GRMLBASE index 15093e4..ac85fd9 100755 --- a/etc/grml/fai/config/hooks/instsoft.GRMLBASE +++ b/etc/grml/fai/config/hooks/instsoft.GRMLBASE @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Mon Nov 05 22:48:02 CET 2007 [mika] +# Latest change: Mon Nov 12 11:14:32 CET 2007 [mika] ################################################################################ set -u @@ -44,6 +44,13 @@ if [ "$FAI_ACTION" = "softupdate" ] ; then //DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2"; EOF + # make sure we can handle kernel upgrades: + if [ -r $target/etc/kernel-img.conf ] ; then + if ! grep -q "silent_modules = Yes" $target/etc/kernel-img.conf ; then + echo "silent_modules = Yes" >> $target/etc/kernel-img.conf + fi + fi + if [ -r /etc/grml/fai/apt/sources.list ] ; then if [ -L $target/etc/apt/sources.list ] ; then rm $target/etc/apt/sources.list