Subject: install/13319: iso-image target could build CD-ROM more nicely
To: None <>
From: John Kohl <>
List: netbsd-bugs
Date: 06/26/2001 22:37:19
>Number:         13319
>Category:       install
>Synopsis:       iso-image target could build CD-ROM more nicely
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 26 19:35:00 PDT 2001
>Originator:     John Kohl
>Release:        NetBSD-1.5.1
NetBSD Kernel Hackers `R` Us
System: NetBSD 1.5 NetBSD 1.5 (KOLVIR) #16: Sun Dec 3 14:33:21 EST 2000 i386

The 'iso-image' target in /usr/src/etc/Makefile could be a bit
(1) It doesn't tell mkisofs to put a volume name on the CD image, so
mkisofs defaults to "CDROM"

(2) It puts the binary images in a directory different than sysinst
expects them.

	make iso-image.  Mount the CD-ROM, use it to install.

For part (1), I suggest this addition to MKISOFS_FLAGS:
	-V NetBSD-`sh ${BSDSRCDIR}/sys/conf/`
which will set the volume label to, e.g. NetBSD-1.5.1

For part (2), I guess the user needs to know in advance to move
$RELEASEDIR/* to $RELEASEDIR/${MACHINE}/*, and to move in any other
architectures they want on the same disk.
It would be nicer if there were some automatic way for ${RELEASEDIR} to
at least get the current architecture's distribution parts in the right
directory from the top of the CD-ROM.