From 90ac2f5dd948412ac31aa3d35bbb76223ebaaf98 Mon Sep 17 00:00:00 2001 From: Gerhard Brauer Date: Fri, 24 Jul 2009 19:03:14 +0200 Subject: 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 Signed-off-by: Aaron Griffin --- configs/install-iso/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configs/install-iso/Makefile') 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) -- cgit v1.2.3-54-g00ecf