diff options
author | Gerhard Brauer <gerbra@archlinux.de> | 2009-07-24 19:03:14 +0200 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-07-27 11:03:37 -0700 |
commit | 90ac2f5dd948412ac31aa3d35bbb76223ebaaf98 (patch) | |
tree | 777946c7edcd1272821809fa5602493cbe065fd3 /configs/install-iso/Makefile | |
parent | 952fa353982e4ceefd0d1ca4d41248ff4f80afa7 (diff) | |
download | archiso32-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/Makefile | 3 |
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) |