1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00

makefs: connect cd9660 El Torito EFI boot image system type

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Ed Maste 2020-09-17 19:41:10 +00:00
parent db853af62a
commit 53d8e037b1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365847
2 changed files with 6 additions and 3 deletions

View File

@ -107,9 +107,11 @@ cd9660_add_boot_disk(iso9660_disk *diskStructure, const char *boot_info)
else if (strcmp(sysname, "macppc") == 0 ||
strcmp(sysname, "mac68k") == 0)
new_image->system = ET_SYS_MAC;
else if (strcmp(sysname, "efi") == 0)
new_image->system = ET_SYS_EFI;
else {
warnx("boot disk system must be "
"i386, powerpc, macppc, or mac68k");
"i386, powerpc, macppc, mac68k, or efi");
free(temp);
free(new_image);
return 0;

View File

@ -35,7 +35,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd August 20, 2019
.Dd September 17, 2020
.Dt MAKEFS 8
.Os
.Sh NAME
@ -385,8 +385,9 @@ is one of
.Ql i386 ,
.Ql mac68k ,
.Ql macppc ,
.Ql powerpc ,
or
.Ql powerpc .
.Ql efi .
.It Sy generic-bootimage
Load a generic boot image into the first 32K of the cd9660 image.
.It Sy hard-disk-boot