From 868ef213e50fdb9db719f07f32e75c440fa0b771 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Fri, 12 Jun 2009 13:23:45 -0400 Subject: [PATCH] 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 --- mkext3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 <