mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 21:41:04 +01:00
vmimage.subr: Pass $INSTALLOPTS to install*
This makes it possible for a VM build configuration file to pass options to make installworld/installkernel/distribution, e.g. WITHOUT_DEBUG_FILES=YES in order to produce smaller images. Note that these options are only applied at install time, not at build time (since the same build is installed into many different VM images), so not all src.conf options are usable here. Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D46506
This commit is contained in:
parent
a84d91d81a
commit
81d3df02bc
@ -52,7 +52,7 @@ vm_install_base() {
|
||||
# Installs the FreeBSD userland/kernel to the virtual machine disk.
|
||||
|
||||
cd ${WORLDDIR} && \
|
||||
make DESTDIR=${DESTDIR} \
|
||||
make DESTDIR=${DESTDIR} ${INSTALLOPTS} \
|
||||
installworld installkernel distribution || \
|
||||
err "\n\nCannot install the base system to ${DESTDIR}."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user