]> spindle.queued.net Git - xodist/blobdiff - mkext3.sh
release: use --config-type for mkjffs2.
[xodist] / mkext3.sh
index 8d8532477cf0b5a09ec512b9f9e3f45bcafb398a..09501a241ef2fca5d81443bc4da29dbf34d372a4 100755 (executable)
--- 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 <<EOF
+       grub --batch --device-map=/dev/null <<EOF
 device (hd0) $img
 geometry (hd0) $geom
 root (hd0,0)
@@ -298,3 +298,5 @@ mk_ext3_fs ${IMG_NAME} ${ROOT_DIR}
 #mount ${IMG_NAME}.ext3 $MOUNT_POINT -o loop,offset=$OS_PART1_BEGIN -t ext3
 #cp -r "$ROOT_DIR"/* $MOUNT_POINT
 #umount $MOUNT_POINT
+
+exit 0