]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for cross-building cloudware images.
authorcperciva <cperciva@FreeBSD.org>
Wed, 3 Apr 2019 21:54:47 +0000 (21:54 +0000)
committercperciva <cperciva@FreeBSD.org>
Wed, 3 Apr 2019 21:54:47 +0000 (21:54 +0000)
commitb37e550602875c8efbb0a0cc9791cf1778c53c8d
treeea620cfcae31571663b38bde96777b821c96d317
parent2ef79738b19f7d07aad1b3c63c35d10cefb7a3c7
Add support for cross-building cloudware images.

If MACHINE_ARCH doesn't match TARGET_ARCH, and we're not in the special
case of building i386 images on an amd64 host, we need to pull in the
qemu-user-static package; this allows us to run some commands inside
the VM disk image chroot, most notably to install packages.

Reviewed by: gjb
MFC after: 2 weeks
Sponsored by: FreeBSD/EC2 patreon (https://www.patreon.com/cperciva)
release/Makefile.vm
release/tools/ec2.conf
release/tools/vmimage.subr