Subject: port-mips/19349: mipsco needs to migrate to MI installboot
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lukem@netbsd.org>
List: netbsd-bugs
Date: 12/12/2002 02:46:57
>Number:         19349
>Category:       port-mips
>Synopsis:       mipsco needs to migrate to MI installboot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mips-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 11 07:48:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Luke Mewburn
>Release:        NetBSD-current 2002-12-11
>Organization:
>Environment:
System: NetBSD argo.mewburn.net 1.6_STABLE NetBSD 1.6_STABLE (ARGO from GENERIC-$Revision: 1.491.4.2 $) #0: Sun Oct 13 18:45:29 EST 2002 lukem@argo.mewburn.net:/var/scratch/obj.i386/usr/src/sys/arch/i386/compile/ARGO i386
Architecture: i386
Machine: i386
>Description:
	After a recent rework of etc/Makefile, all platforms
	now have their distrib/${MACHINE} stuff built (if it exists).

	distrib/mipsco/instkernel builds a bootable floppy
	and tries to run ${DESTDIR}/usr/mdec/installboot to
	make the floppy bootable.  That program is not cross- build
	friendly.  mipsco should be migrated to /usr/sbin/installboot
	which is cross-build friendly.

	Previously the mipsco didn't have a rule in
	etc/etc.mipsco/Makefile.inc to perform this, so it wasn't a
	problem (but, on the other hand, it had no distrib stuff built).

>How-To-Repeat:
	Observe that the autobuild cross-build of NetBSD-current for
	mipsco now fails:
	 http://releng.netbsd.org/ab/B_HEAD/M_mipsco/mipsco.relse.1039564800.txt

>Fix:
	Write a mipsco back-end for /usr/sbin/installboot...
	We should temporarily disable the /usr/mdec/installboot
	in distrib/mipsco/instkernel/Makefile until this is done...
>Release-Note:
>Audit-Trail:
>Unformatted: