1 --- /usr/lib/fai/subroutines-linux.orig 2007-09-21 10:47:35.000000000 +0200
2 +++ /usr/lib/fai/subroutines-linux 2007-09-21 10:49:09.000000000 +0200
6 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
10 + echo "Updating chroot"
11 + if [ -z "$TARGET" ] ; then
12 + echo "Error: \$TARGET not set, exiting.">&2
15 + chroot $TARGET apt-get update
18 +# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
21 echo "Installing software may take a while"