Subject: port-mips/19349: mipsco needs to migrate to MI installboot
To: None <>
From: None <>
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
>Originator:     Luke Mewburn
>Release:        NetBSD-current 2002-12-11
System: NetBSD 1.6_STABLE NetBSD 1.6_STABLE (ARGO from GENERIC-$Revision: 1.491.4.2 $) #0: Sun Oct 13 18:45:29 EST 2002 i386
Architecture: i386
Machine: i386
	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/ to perform this, so it wasn't a
	problem (but, on the other hand, it had no distrib stuff built).

	Observe that the autobuild cross-build of NetBSD-current for
	mipsco now fails:

	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...