diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2021-02-25 02:16:56 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2021-02-25 02:16:56 +0000 |
commit | 1ca8842f3ad9725863c9affc044d1974a51818a9 (patch) | |
tree | 412e7a9db1f57cc883ad098da5d252f36fe396b9 /release/scripts | |
parent | ef567155d35fd8f783d9b907e9a2765640a11527 (diff) | |
download | src-1ca8842f3ad9725863c9affc044d1974a51818a9.tar.gz src-1ca8842f3ad9725863c9affc044d1974a51818a9.zip |
Use makefs(8) in release VM-image generation instead of md(4) and newfs.
Using makefs instead reduces the privileges needed to build VM images,
simplifies the script (no need to copy files to a fresh image at the end),
and improves portability by allowing generation of cross-endian images.
As a result of the last, this patch also adds support for generation of
powerpc64 and powerpc64le VM images.
No other changes to the output. Tested and working for both amd64 and
powerpc64 targets.
Reviewed by: gjb
Differential Revision: https://reviews.freebsd.org/D28912
Diffstat (limited to 'release/scripts')
-rwxr-xr-x | release/scripts/mk-vmimage.sh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/release/scripts/mk-vmimage.sh b/release/scripts/mk-vmimage.sh index cf795e04655b..d5985ceb0d25 100755 --- a/release/scripts/mk-vmimage.sh +++ b/release/scripts/mk-vmimage.sh @@ -93,8 +93,6 @@ main() { . "${VMCONFIG}" fi - ROOTLABEL="gpt" - vm_create_base vm_install_base vm_extra_install_base |