From 7280f91aefb42b65bd50762635a7035f762c59d3 Mon Sep 17 00:00:00 2001 From: "martin@piware.de" <> Date: Tue, 22 Jul 2008 16:18:12 +0200 Subject: [PATCH] makechroot: do not put file:// mirrors into chroot apt sources --- makechroot | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/makechroot b/makechroot index f233032..2add2b9 100755 --- a/makechroot +++ b/makechroot @@ -41,6 +41,10 @@ EOF fi # apt sources +if [ "$MIRROR" != "${MIRROR%file://}" ]; then + MIRROR=http://archive.ubuntu.com/ubuntu +fi + cat < $DIR/etc/apt/sources.list deb $MIRROR $DIST main restricted universe multiverse deb-src $MIRROR $DIST main restricted universe multiverse -- 2.39.2