]> piware.de Git - bin.git/blobdiff - makechroot
remove iso-deb-size-compare, moved to ubuntu-archive-tools
[bin.git] / makechroot
index f2330327046a18a6e67fe6c712f2962bf212b9c7..55dfa4120f03558b2a51c008bf5e0a47ef4166b6 100755 (executable)
@@ -41,6 +41,10 @@ EOF
 fi
 
 # apt sources
+if [ "$MIRROR" != "${MIRROR%file://}" ]; then
+    MIRROR=http://archive.ubuntu.com/ubuntu
+fi
+
 cat <<EOF > $DIR/etc/apt/sources.list
 deb     $MIRROR $DIST main restricted universe multiverse
 deb-src $MIRROR $DIST main restricted universe multiverse
@@ -55,5 +59,5 @@ EOF
 chroot $DIR apt-get update
 
 # common packages for development
-chroot $DIR apt-get install -y build-essential devscripts fakeroot
+chroot $DIR apt-get install -y build-essential fakeroot