X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fhooks%2Fupdatebase.GRMLBASE;h=61872602e41dabf94ae9ae8eec0f1b2241821aa9;hp=359c7ba60a4abb7baaf7427489080d75832e8d30;hb=8efad5c2d113d02caea9de491a267f068b52f8f2;hpb=461e19802eacfb86877def9802477b36a22895d5 diff --git a/etc/grml/fai/config/hooks/updatebase.GRMLBASE b/etc/grml/fai/config/hooks/updatebase.GRMLBASE index 359c7ba..6187260 100755 --- a/etc/grml/fai/config/hooks/updatebase.GRMLBASE +++ b/etc/grml/fai/config/hooks/updatebase.GRMLBASE @@ -4,12 +4,21 @@ # 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: Sun Dec 16 13:56:58 CET 2007 [mika] ################################################################################ if [ "$FAI_ACTION" = "softupdate" ] ; then # we want to use our own sources.list: skiptask updatebase + # make sure we don't start any daemons - removed + # later on via /etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot + if ! [ -r $target/usr/sbin/policy-rc.d ] ; then + cat > $target/usr/sbin/policy-rc.d << EOF +#!/bin/sh +# FAI_ACTION=updatebase +exit 101 +EOF + chmod 755 $target/usr/sbin/policy-rc.d + fi # skip the task if we want to build a new ISO only: [ -n "$BUILD_ONLY" ] && skiptask instsoft fi