However, if you are looking for a quick solution, you can simply run a standalone webserver, e.g. darkhttpd, from the install media and a package cache mounted somewhere.
# ln -s /mnt/otherusb/var/lib/pacman/sync/*.db /mnt/otherusb/var/cache/pacman/pkg
$ sudo -u http darkhttpd /mnt/otherusb/var/cache/pacman/pkg --no-server-id
Just add this server at the top of your /etc/pacman.d/mirrorlist in client machines with Server = http://localhost:8080
]]>I've been running the steps exactly as shown, with a single trivial exception (not running "rm /etc/systemd/system/getty@tty1.service.d/autologin.conf" as that file does not seem to be present) and multiple times now whenever I go to boot into the system after a seemingly-successful installation, GRUB says "Loading Linux linux" and then freezes. I don't even get the "Loading initial ramdisk" message. I've tried this repeatedly on both a virtual machine as well as a physical machine. I always get the same result...
]]>