mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
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
This commit is contained in:
parent
14e3f2d8d3
commit
4f223e0da7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue