summaryrefslogtreecommitdiff
path: root/configs/install-iso/Makefile
diff options
context:
space:
mode:
authorGerhard Brauer <gerbra@archlinux.de>2009-07-24 19:03:14 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-07-27 11:03:37 -0700
commit90ac2f5dd948412ac31aa3d35bbb76223ebaaf98 (patch)
tree777946c7edcd1272821809fa5602493cbe065fd3 /configs/install-iso/Makefile
parent952fa353982e4ceefd0d1ca4d41248ff4f80afa7 (diff)
downloadarchiso32-90ac2f5dd948412ac31aa3d35bbb76223ebaaf98.tar.xz
Let the mirrorlist in overlay generate dynamically
Removed mirrorlist file from overlay and modified Makefile to fetch the file dynamically on iso creation (Thanks, Dan!) Signed-off-by: Gerhard Brauer <gerbra@archlinux.de> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'configs/install-iso/Makefile')
-rw-r--r--configs/install-iso/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/install-iso/Makefile b/configs/install-iso/Makefile
index cfdf6e6..fad177c 100644
--- a/configs/install-iso/Makefile
+++ b/configs/install-iso/Makefile
@@ -32,7 +32,8 @@ ftp-iso: overlay $(BOOTLOADER)
overlay: base-iso
cp -r overlay $(WORKDIR)/
- sed -i "s|@ARCH@|$(ARCH)|g" "$(WORKDIR)/overlay/etc/pacman.d/mirrorlist"
+ wget -O $(WORKDIR)/overlay/etc/pacman.d/mirrorlist http://www.archlinux.org/mirrorlist/$(ARCH)/all/
+ sed -i "s/#Server/Server/g" "$(WORKDIR)/overlay/etc/pacman.d/mirrorlist"
root-image:
mkarchiso -p $(PACKAGES) create $(WORKDIR)