X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=patches%2Ffai_dirupdate_4.diff;fp=patches%2Ffai_dirupdate_4.diff;h=ad4d05ff3e0a6d9e62a2c839fc97d217fe9f5793;hp=0000000000000000000000000000000000000000;hb=0f72adacbce0a22376ccc889598f29d8dd2966d9;hpb=976c75fd6aa78b13ac0630d6401c9339391b59bb diff --git a/patches/fai_dirupdate_4.diff b/patches/fai_dirupdate_4.diff new file mode 100644 index 0000000..ad4d05f --- /dev/null +++ b/patches/fai_dirupdate_4.diff @@ -0,0 +1,21 @@ +--- /usr/lib/fai/subroutines-linux.orig 2007-09-21 10:47:35.000000000 +0200 ++++ /usr/lib/fai/subroutines-linux 2007-09-21 10:49:09.000000000 +0200 +@@ -229,6 +229,18 @@ + updatebase + } + # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ++task_updatechroot() { ++ ++ # update the chroot ++ echo "Updating chroot" ++ if [ -z "$TARGET" ] ; then ++ echo "Error: \$TARGET not set, exiting.">&2 ++ return 1 ++ else ++ chroot $TARGET apt-get update ++ fi ++} ++# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + task_instsoft() { + + echo "Installing software may take a while"