NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/58076: x86 live images don't support creds_msdos(8) andhave confusing taxonomy



The following reply was made to PR install/58076; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: riastradh%NetBSD.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: install/58076: x86 live images don't support creds_msdos(8) andhave
	 confusing taxonomy
Date: Sun, 14 Apr 2024 02:35:09 +0900

 riastradh@ wrote:
 
 > Thanks!  I forgot one other image:
 > 
 > https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/202404041900Z/images/NetBSD-10.99.10-amd64-live.img.gz
 
 We have to ask to admins which images will be built and installed
 onto our ftp release dirs..
 
 > This is produced by build.sh live-image, and is currently
 > BIOS-boot-only (but may soon boot with UEFI, perhaps).
 
 Building UEFI version should be trivial, maybe like this:
 (untested; see comments in src/distrib/common/bootimage/Makefile.bootimage)
 
 Index: Makefile.liveimage
 ===================================================================
 RCS file: /cvsroot/src/distrib/amd64/liveimage/Makefile.liveimage,v
 retrieving revision 1.2
 diff -u -p -d -r1.2 Makefile.liveimage
 --- Makefile.liveimage	15 Dec 2018 18:03:17 -0000	1.2
 +++ Makefile.liveimage	13 Apr 2024 17:31:20 -0000
 @@ -7,6 +7,11 @@ PRIMARY_BOOT=		bootxx_ffsv1
  SECONDARY_BOOT=		boot
  SECONDARY_BOOT_ARG=	# unnecessary
  
 +EFIBOOT=		${WORKDIR}/usr/mdec/bootx64.efi
 +EFIBOOT+=		${WORKDIR}/usr/mdec/bootia32.efi
 +
  USE_MBR=		yes
 +USE_GPT=		yes
 +USE_GPTMBR=		yes
  
  .include "${.CURDIR}/../../../common/bootimage/Makefile.liveimage"
 Index: emuimage/Makefile
 ===================================================================
 RCS file: /cvsroot/src/distrib/amd64/liveimage/emuimage/Makefile,v
 retrieving revision 1.9
 diff -u -p -d -r1.9 Makefile
 --- emuimage/Makefile	24 Jul 2021 16:13:44 -0000	1.9
 +++ emuimage/Makefile	13 Apr 2024 17:31:20 -0000
 @@ -13,6 +13,6 @@ SPEC_EXTRA=	${.CURDIR}/spec.emuimage
  RC_CONF_EXTRA=	${.CURDIR}/rc.conf.emuimage
  IMGFILE_EXTRA=								\
  	${FILESDIR}/ec2_init		etc/rc.d/ec2_init		\
 -	${FILESDIR}/resize_disklabel	etc/rc.d/resize_disklabel
 +	${FILESDIR}/resize_disklabel	etc/rc.d/resize_gpt
  
  .include "${.CURDIR}/../Makefile.liveimage"
 
 ---
 


Home | Main Index | Thread Index | Old Index