[Fai-commit] r4717 - trunk/lib
lange at alioth.debian.org
lange at alioth.debian.org
Sun Nov 11 13:01:07 UTC 2007
Author: lange
Date: 2007-11-11 13:01:07 +0000 (Sun, 11 Nov 2007)
New Revision: 4717
Modified:
trunk/lib/subroutines-linux
Log:
change task_error values
Modified: trunk/lib/subroutines-linux
===================================================================
--- trunk/lib/subroutines-linux 2007-11-11 13:00:42 UTC (rev 4716)
+++ trunk/lib/subroutines-linux 2007-11-11 13:01:07 UTC (rev 4717)
@@ -159,6 +159,7 @@
echo "No base.tgz found. Calling debootstrap."
[ -z "$FAI_DEBOOTSTRAP" ] && die "$FAI_DEBOOTSTRAP undefined. Aborting"
call_debootstrap $FAI_DEBOOTSTRAP
+ task_error 801 $?
fi
fi
# now we can copy fstab
@@ -240,16 +241,16 @@
echo "Installing software may take a while"
if [ "$debug" ]; then
install_packages | tee -a $LOGDIR/software.log
- task_error $?
+ task_error 471 $?
elif [ "$verbose" ]; then
install_packages </dev/null 2>&1 | tee -a $LOGDIR/software.log
- task_error $?
+ task_error 471 $?
else
install_packages </dev/null >> $LOGDIR/software.log 2>&1
- task_error $?
+ task_error 471 $?
fi
# This almost indicates an error
- egrep "^E:" $LOGDIR/software.log && task_error 1
+ egrep "^E:" $LOGDIR/software.log && task_error 472
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
task_finish() {
More information about the Fai-commit
mailing list