Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/iso
diff options
context:
space:
mode:
Diffstat (limited to 'iso')
-rwxr-xr-xiso/mkarchiso4865
1 files changed, 4 insertions, 1 deletions
diff --git a/iso/mkarchiso486 b/iso/mkarchiso486
index e93af06..4b56ca6 100755
--- a/iso/mkarchiso486
+++ b/iso/mkarchiso486
@@ -15,11 +15,11 @@ if test ! -d "$ROOTMNT"; then
mkdir "$ROOTMNT"
fi
-# get and patch mirrorlist for Archlinux32
if test ! -d "$ROOTFS"; then
mkdir "$ROOTFS"
fi
+echo "Fetch and patch mirrorlist for Archlinux32.."
if test ! -f "$BASE/mirrorlist32"; then
wget -O "$BASE/mirrorlist32" "https://www.archlinux32.org/mirrorlist/?country=all&protocol=http&protocol=https&ip_version=4&ip_version=6"
sed -i '/https.*mirror.archlinux32.org/s/#Server/Server/' "$BASE/mirrorlist32"
@@ -47,6 +47,9 @@ 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"
+# /var/tmp should be writeable
+echo "/tmp /var/tmp none bind 0 0" >> "$ROOTFS/etc/fstab"
+
mount --bind "$ROOTFS" "$ROOTMNT"
echo "Preparing keyring inside chroot.."