svn commit: r366581 - in stable/12/usr.sbin/makefs: . cd9660
Ed Maste
emaste at FreeBSD.org
Fri Oct 9 18:30:50 UTC 2020
Author: emaste
Date: Fri Oct 9 18:30:49 2020
New Revision: 366581
URL: https://svnweb.freebsd.org/changeset/base/366581
Log:
MFC r365847: makefs: connect cd9660 El Torito EFI boot image system type
Sponsored by: The FreeBSD Foundation
Modified:
stable/12/usr.sbin/makefs/cd9660/cd9660_eltorito.c
stable/12/usr.sbin/makefs/makefs.8
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/usr.sbin/makefs/cd9660/cd9660_eltorito.c
==============================================================================
--- stable/12/usr.sbin/makefs/cd9660/cd9660_eltorito.c Fri Oct 9 15:50:50 2020 (r366580)
+++ stable/12/usr.sbin/makefs/cd9660/cd9660_eltorito.c Fri Oct 9 18:30:49 2020 (r366581)
@@ -107,9 +107,11 @@ cd9660_add_boot_disk(iso9660_disk *diskStructure, cons
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;
Modified: stable/12/usr.sbin/makefs/makefs.8
==============================================================================
--- stable/12/usr.sbin/makefs/makefs.8 Fri Oct 9 15:50:50 2020 (r366580)
+++ stable/12/usr.sbin/makefs/makefs.8 Fri Oct 9 18:30:49 2020 (r366581)
@@ -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
More information about the svn-src-stable-12
mailing list