chiark / gitweb /
ubuntu-daily: DVDs are not usefully jigdoable any more
[bin.git] / ubuntu-daily
index 11665c0fef31a8f9a8a503c4c81f59ac81abab86..cadbc517970a83747dcab0ba853cf4b1ea3f00ee 100755 (executable)
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 PROJECT=
-CURRENT_DIST=natty
+CURRENT_DIST=oneiric
 DIST="$CURRENT_DIST"
 BASE=cdimage.ubuntu.com::cdimage
 RSYNC=false
@@ -13,7 +13,7 @@ Usage: $0 [options] image_type architecture
 
 Options:
   -f|--flavour FLAVOUR         Flavour (default: ubuntu).
-  -d|--dist DIST               Distribution (default: natty).
+  -d|--dist DIST               Distribution (default: oneiric).
   -a|--authenticated           Use privileged access.
   -r|--rsync                   Force rsync.
   -h|--http                    Force HTTP only (no reuse).
@@ -95,7 +95,7 @@ case $1 in
 esac
 
 case $1 in
-       install|alternate|server|addon|serveraddon|dvd) ;;
+       install|alternate|server|addon|serveraddon)     ;;
        *)
                $HTTP || RSYNC=:
                ;;
@@ -119,7 +119,7 @@ else
                EXISTING=:
                mv "$LOCAL.iso" "$LOCAL.iso.old"
                mkdir -p "old-$2"
-               sudo mount -o loop "$LOCAL.iso.old" "old-$2"
+               sudo mount -o loop,ro "$LOCAL.iso.old" "old-$2"
        fi
        ionice -c2 -n7 jigdo-lite "$LOCAL.jigdo"
        if $EXISTING; then