git: 4f223e0da7b4 - main - release: Change vmimage EFI GPT label
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Apr 2024 21:43:27 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=4f223e0da7b4a055d9416f9161b44ffed765a9c3
commit 4f223e0da7b4a055d9416f9161b44ffed765a9c3
Author: Jose Luis Duran <jlduran@gmail.com>
AuthorDate: 2024-04-23 21:12:30 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-04-23 21:13:40 +0000
release: Change vmimage EFI GPT label
This matches the default bsdinstall nomenclature.
PR: 278480
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1188
---
release/tools/vmimage.subr | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
index 0346e33b81b4..93658b9a03da 100644
--- a/release/tools/vmimage.subr
+++ b/release/tools/vmimage.subr
@@ -301,11 +301,11 @@ vm_create_disk() {
# Create an ESP
espfilename=$(mktemp /tmp/efiboot.XXXXXX)
make_esp_file ${espfilename} ${fat32min} ${BOOTFILES}/efi/loader_lua/loader_lua.efi
- BOOTPARTS="${BOOTPARTS} -p efi/efiesp:=${espfilename}"
+ BOOTPARTS="${BOOTPARTS} -p efi/efiboot0:=${espfilename}"
# Add this to fstab
mkdir -p ${DESTDIR}/boot/efi
- echo "/dev/${ROOTLABEL}/efiesp /boot/efi msdosfs rw 2 2" \
+ echo "/dev/${ROOTLABEL}/efiboot0 /boot/efi msdosfs rw 2 2" \
>> ${DESTDIR}/etc/fstab
fi