HomeFreeBSD

release: Use qemu when cross-building vm images

Description

release: Use qemu when cross-building vm images

For a bit over 5 years, we have used qemu when cross-building cloudware
images; in particular, it's necessary when installing packages which
might include post-install scripts.

Use qemu in the vm-images target too; while "generic" vm images don't
install packages, they still run newaliases and /etc/rc.d/ldconfig,
both of which fail without appropriate emulation.

MFC after: 1 week

(cherry picked from commit 9287d1853c00267a0118401530debf9c0554ff28)

Details

Provenance
cpercivaAuthored on Sun, May 5, 5:31 AM
Parents
rG8f0bd08e9869: lld: work around elftoolchain bug which causes bloated RISCV binaries
Branches
Unknown
Tags
Unknown