Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwlive.git;a=commitdiff;h=b4b1a2415108773368d7948d16f6f0b532c29550

commit b4b1a2415108773368d7948d16f6f0b532c29550
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Fri Nov 4 00:42:51 2011 +0100

make mirror configurable

diff --git a/bin/create-rootfs b/bin/create-rootfs
index f6a1362..c8ab2d3 100755
--- a/bin/create-rootfs
+++ b/bin/create-rootfs
@@ -73,7 +73,7 @@ fi
if [ $TREE == "stable" ]; then
echo "[frugalware]" > pacman-g2.conf
fi
-echo "Server = 
http://ftp.frugalware.org/pub/frugalware/frugalware-$TREE/frugalware-$ARCH"; >> 
pacman-g2.conf
+echo "Server = $MIRROR/frugalware-$TREE/frugalware-$ARCH" >> pacman-g2.conf
pacman -Sy base -r "$CHROOTDIR" --noconfirm --config pacman-g2.conf

# Post-install tweaks
diff --git a/config b/config
index 6e675dd..ad81136 100644
--- a/config
+++ b/config
@@ -6,6 +6,9 @@ ARCH=`uname -m`
# choice stable after 1.6
TREE="current"

+# Mirror to use
+MIRROR="http://ftp.frugalware.org/pub/frugalware";
+
# Chroot dir
CHROOTDIR="$PWD/$TREE/rootfs"
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to