From: Andres Salomon Date: Fri, 12 Jun 2009 17:23:45 +0000 (-0400) Subject: mkext3: run grub w/ --batch so it doesn't whine about lack of TERM X-Git-Tag: v0.6~42 X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?p=xodist;a=commitdiff_plain;h=868ef213e50fdb9db719f07f32e75c440fa0b771 mkext3: run grub w/ --batch so it doesn't whine about lack of TERM ..in case we happen to be running this script from a crontab. Signed-off-by: Andres Salomon --- diff --git a/mkext3.sh b/mkext3.sh index 8d85324..4bddac3 100755 --- a/mkext3.sh +++ b/mkext3.sh @@ -128,7 +128,7 @@ EOF # grub-install is pretty broken, so we do this manually geom=`parted -s "$img" "unit chs" "print" | sed -ne 's/geometry: \([0-9]\+\),\([0-9]\+\),\([0-9]\+\)/:\1 \2 \3:/p' | cut -d: -f2` - grub --device-map=/dev/null <