summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/install-iso/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/install-iso/Makefile b/configs/install-iso/Makefile
index cdfd8a1..7e4ffe3 100644
--- a/configs/install-iso/Makefile
+++ b/configs/install-iso/Makefile
@@ -32,6 +32,9 @@ net-iso: overlay $(BOOTLOADER)
overlay: base-iso
cp -r overlay $(WORKDIR)/
+ if [ ! -d $(WORKDIR)/overlay/etc/pacman.d ]; then \
+ mkdir -m755 $(WORKDIR)/overlay/etc/pacman.d; \
+ fi
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"