Subject: install/13319: iso-image target could build CD-ROM more nicely
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington.ma.us>
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
>Closed-Date:
>Last-Modified:
>Originator:     John Kohl
>Release:        NetBSD-1.5.1
>Organization:
NetBSD Kernel Hackers `R` Us
>Environment:
	
System: NetBSD kolvir.arlington.ma.us 1.5 NetBSD 1.5 (KOLVIR) #16: Sun Dec 3 14:33:21 EST 2000 jtk@kolvir.arlington.ma.us:/usr/u4/sandbox/src/sys/arch/i386/compile/KOLVIR i386


>Description:
The 'iso-image' target in /usr/src/etc/Makefile could be a bit
friendlier.
(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.

>How-To-Repeat:
	make iso-image.  Mount the CD-ROM, use it to install.

>Fix:
For part (1), I suggest this addition to MKISOFS_FLAGS:
	-V NetBSD-`sh ${BSDSRCDIR}/sys/conf/osrelease.sh`
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.
>Release-Note:
>Audit-Trail:
>Unformatted: