Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/amd64/cdroms distrib/amd64/cdroms: honor CDBOOTOPTIO...
details: https://anonhg.NetBSD.org/src/rev/72c21be2194e
branches: trunk
changeset: 960055:72c21be2194e
user: dbj <dbj%NetBSD.org@localhost>
date: Sun Mar 07 03:55:47 2021 +0000
description:
distrib/amd64/cdroms: honor CDBOOTOPTIONS when installing EFI bootloader
diffstat:
distrib/amd64/cdroms/Makefile.cdrom | 8 +++++++-
distrib/amd64/cdroms/bootcd-com/Makefile | 7 ++++---
2 files changed, 11 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r 47943802148a -r 72c21be2194e distrib/amd64/cdroms/Makefile.cdrom
--- a/distrib/amd64/cdroms/Makefile.cdrom Sun Mar 07 02:54:06 2021 +0000
+++ b/distrib/amd64/cdroms/Makefile.cdrom Sun Mar 07 03:55:47 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.cdrom,v 1.25 2021/02/17 08:49:54 dbj Exp $
+# $NetBSD: Makefile.cdrom,v 1.26 2021/03/07 03:55:47 dbj Exp $
.include <bsd.own.mk>
.include <bsd.endian.mk>
@@ -27,6 +27,12 @@
${RM} -rf efiboot/EFI/boot
${MKDIR} ${MKDIRPERM} efiboot/EFI/boot
${INSTALL} ${COPY} -m 0444 ${.ALLSRC} efiboot/EFI/boot/
+.if defined(CDBOOTOPTIONS)
+ ${CHMOD} +w efiboot/EFI/boot/bootx64.efi efiboot/EFI/boot/bootia32.efi
+ ${TOOL_INSTALLBOOT} -m${MACHINE} -e ${CDBOOTOPTIONS} efiboot/EFI/boot/bootx64.efi
+ ${TOOL_INSTALLBOOT} -m${MACHINE} -e ${CDBOOTOPTIONS} efiboot/EFI/boot/bootia32.efi
+ ${CHMOD} -w efiboot/EFI/boot/bootx64.efi efiboot/EFI/boot/bootia32.efi
+.endif
${TOOL_MAKEFS} -M 1m -m 1m -B ${TARGET_ENDIANNESS} ${MAKEFS_TIMESTAMP} \
-t msdos -o F=12,c=1 ${EFIBOOTIMG} efiboot
diff -r 47943802148a -r 72c21be2194e distrib/amd64/cdroms/bootcd-com/Makefile
--- a/distrib/amd64/cdroms/bootcd-com/Makefile Sun Mar 07 02:54:06 2021 +0000
+++ b/distrib/amd64/cdroms/bootcd-com/Makefile Sun Mar 07 03:55:47 2021 +0000
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.8 2021/02/17 08:49:55 dbj Exp $
+# $NetBSD: Makefile,v 1.9 2021/03/07 03:55:47 dbj Exp $
#
+# HP Proliant iLO serial console is on com1
+CDBOOTOPTIONS= -o console=com0
+
.include "${.CURDIR}/../Makefile.cdrom"
CDBASE= boot-com # gives ${CDBASE}.iso
-# HP Proliant iLO serial console is on com1
-CDBOOTOPTIONS= -o console=com0
CDBUILDEXTRA+= boot.cfg # Add boot.cfg file
CLEANFILES+= boot.cfg
Home |
Main Index |
Thread Index |
Old Index