Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/mkarchiso486
diff options
context:
space:
mode:
Diffstat (limited to 'mkarchiso486')
-rwxr-xr-xmkarchiso4862
1 files changed, 2 insertions, 0 deletions
diff --git a/mkarchiso486 b/mkarchiso486
index c455269..517fa5a 100755
--- a/mkarchiso486
+++ b/mkarchiso486
@@ -27,6 +27,7 @@ echo "Patch host pacman.conf for installation of i486 chroot.."
cp /etc/pacman.conf "$BASE/pacman-i486.conf"
sed -i 's/^Architecture.*=.*/Architecture = i486/' "$BASE/pacman-i486.conf"
sed -i "s|/etc/pacman.d/mirrorlist|$BASE/mirrorlist32|" "$BASE/pacman-i486.conf"
+sed -i 's|.*ParallelDownloads.*|ParallelDownloads = 1|' "$BASE/pacman-i486.conf"
pacstrap -C "$BASE/pacman-i486.conf" -G -M "$ROOTFS" base linux
@@ -36,6 +37,7 @@ rm -rf "$ROOTFS/var/cache/pacman/pkg/"*
echo "Patching pacman.conf and mirrorlist on the ISO.."
sed -i 's/^Architecture.*=.*/Architecture = i486/' "$ROOTFS/etc/pacman.conf"
sed -i 's/^#\(Server.*=.*https:\/\/.*mirror\.archlinux32.org.*\)/\1/' "$ROOTFS/etc/pacman.d/mirrorlist"
+sed -i 's|.*ParallelDownloads.*|ParallelDownloads = 1|' "$ROOTFS/etc/pacman.conf"
mount --bind "$ROOTFS" "$ROOTMNT"