Sat Apr 13 18:38:17 2024 UTC (26d)
amd64 live image: support EFI as well as BIOS boot

The biggest caveat is that there's a small number of machines that try to
EFI boot but fail, so would prefer a BIOS only image. I'm not adding a
separate BIOS only image because the live image is pretty niche.
(For regular installation images, we do create a separate BIOS-only version)


(maya)
diff -r1.2 -r1.3 src/distrib/amd64/liveimage/Makefile.liveimage

cvs diff -r1.2 -r1.3 src/distrib/amd64/liveimage/Makefile.liveimage (expand / switch to unified diff)

--- src/distrib/amd64/liveimage/Makefile.liveimage 2018/12/15 18:03:17 1.2
+++ src/distrib/amd64/liveimage/Makefile.liveimage 2024/04/13 18:38:17 1.3
@@ -1,12 +1,17 @@ @@ -1,12 +1,17 @@
1# $NetBSD: Makefile.liveimage,v 1.2 2018/12/15 18:03:17 gson Exp $ 1# $NetBSD: Makefile.liveimage,v 1.3 2024/04/13 18:38:17 maya Exp $
2 2
3.include <bsd.own.mk> 3.include <bsd.own.mk>
4 4
5KERN_SET= kern-GENERIC 5KERN_SET= kern-GENERIC
6PRIMARY_BOOT= bootxx_ffsv1 6PRIMARY_BOOT= bootxx_ffsv1
7SECONDARY_BOOT= boot 7SECONDARY_BOOT= boot
8SECONDARY_BOOT_ARG= # unnecessary 8SECONDARY_BOOT_ARG= # unnecessary
9 9
 10EFIBOOT= ${WORKDIR}/usr/mdec/bootx64.efi
 11EFIBOOT+= ${WORKDIR}/usr/mdec/bootia32.efi
 12
10USE_MBR= yes 13USE_MBR= yes
 14USE_GPT= yes
 15USE_GPTMBR= yes
11 16
12.include "${.CURDIR}/../../../common/bootimage/Makefile.liveimage" 17.include "${.CURDIR}/../../../common/bootimage/Makefile.liveimage"