Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105938989
D25655.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
731 B
Referenced Files
None
Subscribers
None
D25655.diff
View Options
Index: head/release/tools/vmimage.subr
===================================================================
--- head/release/tools/vmimage.subr
+++ head/release/tools/vmimage.subr
@@ -24,12 +24,17 @@
case "${TARGET}:${TARGET_ARCH}" in
amd64:amd64 | i386:i386)
+ # Create an ESP
+ espfilename=$(mktemp /tmp/efiboot.XXXXXX)
+ make_esp_file ${espfilename} ${fat32min} ${BOOTFILES}/efi/loader_lua/loader_lua.efi
mkimg -s gpt -f ${VMFORMAT} \
-b ${BOOTFILES}/i386/pmbr/pmbr \
-p freebsd-boot/bootfs:=${BOOTFILES}/i386/gptboot/gptboot \
+ -p efi:=${espfilename} \
${SWAPOPT} \
-p freebsd-ufs/rootfs:=${VMBASE} \
-o ${VMIMAGE}
+ rm ${espfilename}
;;
arm64:aarch64)
# Create an ESP
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 8:21 PM (13 h, 41 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15579595
Default Alt Text
D25655.diff (731 B)
Attached To
Mode
D25655: Eanble EFI partition on x86_64 and i386 VM images
Attached
Detach File
Event Timeline
Log In to Comment