index : archi486 | |
Archlinux32 i486 tools | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-10-02 17:29:52 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-10-02 17:29:52 +0200 |
commit | e266d50d7d0b427b34ed9042a4779027422e594c (patch) | |
tree | fd5dec1b6bf509ced21c3499d2be68155d89638e | |
parent | eb132d7838edde848733efd99f5a870fa7419e4d (diff) |
-rwxr-xr-x | iso/mkarchiso486 | 5 |
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.." |