[Fai-commit] r6292 - trunk/bin
Thomas Lange
lange at alioth.debian.org
Sat Feb 12 20:51:04 UTC 2011
Author: lange
Date: 2011-02-12 20:51:03 +0000 (Sat, 12 Feb 2011)
New Revision: 6292
Modified:
trunk/bin/make-fai-nfsroot
Log:
add patterns, that indicate an error
Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot 2011-02-12 17:53:27 UTC (rev 6291)
+++ trunk/bin/make-fai-nfsroot 2011-02-12 20:51:03 UTC (rev 6292)
@@ -59,7 +59,7 @@
[ -x $NFSROOT/usr/share/initramfs-tools/scripts/live ] || die 1 "live-initramfs was not installed inside the nfsroot."
local files=$(ls $NFSROOT/boot/initrd* 2>/dev/null)
[ -z "$files" ] && die 1 "No initrd installed."
- egrep -q "^ERROR: " /var/log/fai/make-fai-nfsroot.log && bad_exit
+ egrep -q "^ERROR: |^E: Sub-process |^dpkg: error processing |^dpkg: dependency problems" /var/log/fai/make-fai-nfsroot.log && bad_exit
return 0
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
More information about the Fai-commit
mailing list