Following https://wiki.archlinux.org/index.php/Archiso, I try to build directly from a prestine template:
sudo cp -r /usr/share/archiso/configs/releng archlive
cd archlive
sudo ./build.sh -v -N foo
The result is:
[mkarchiso] INFO: Configuration settings
[mkarchiso] INFO: Command: init
[mkarchiso] INFO: Architecture: x86_64
[mkarchiso] INFO: Working directory: work/x86_64
[mkarchiso] INFO: Installation directory: arch
[mkarchiso] INFO: Pacman config file: work/pacman.conf
[mkarchiso] INFO: Installing packages to 'work/x86_64/airootfs/'...
==> ERROR: work/x86_64/airootfs is not a mountpoint!
ERROR: work/x86_64/airootfs is not a mountpoint!
I tracked this down within the script to line 63:
mkarchiso ${verbose} -w "${work_dir}/x86_64" -C "${work_dir}/pacman.conf" -D "${install_dir}" init
... and executed the corresponding command manually:
sudo mkarchiso -v -w "work/x86_64" -C "work/pacman.conf" -D arch init
This resulted in the same error.
Any idea what may be causing it? It's been like this for a couple of months (i.e. several releases of the archiso package).