Subject: port-i386/5427: When making the boot floppy under make build, /usr/mdec/installboot is used, not ${DESTDIR}/usr/mdec/installboot
To: None <gnats-bugs@gnats.netbsd.org>
From: The Dragon Prince <elric@arioch.imrryr.org>
List: netbsd-bugs
Date: 05/08/1998 15:56:48
>Number:         5427
>Category:       port-i386
>Synopsis:       When making the boot floppy under make build, /usr/mdec/installboot is used, not ${DESTDIR}/usr/mdec/installboot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May  8 16:05:01 1998
>Last-Modified:
>Originator:     Roland Dowdeswell
>Organization:
	The Fall of Imrryr...
>Release:        7 May 1998
>Environment:
System: NetBSD arioch 1.3 NetBSD 1.3 (ARIOCH) #0: Fri May 1 09:23:38 PDT 1998 elric@arioch:/usr/src/sys/arch/i386/compile/ARIOCH i386

This is only the compilation environment...

>Description:
	When I make the boot floppy, the boot blocks are installed
	by the installboot in /usr/mdec, not the installboot in
	${DESTDIR}/usr/mdec.
>How-To-Repeat:
	( cd /usr/src/distrib/i386/floppies/ && make "DESTDIR=${DESTDIR}" )
	observe.
>Fix:

	The change is a one liner.

*** Makefile.inc	Fri May  8 15:47:08 1998
--- Makefile.inc.orig	Fri May  8 15:46:46 1998
***************
*** 45,51 ****
  	@echo "installing new bootblocks"
  	-rm -f ${MOUNT_POINT}/boot
  	umount ${MOUNT_POINT}
! 	${MDEC}/installboot -v -f ${MDEC}/biosboot.sym ${VND_RDEV}
  	vnconfig -u ${VND_CDEV}
  
  unconfig:
--- 45,51 ----
  	@echo "installing new bootblocks"
  	-rm -f ${MOUNT_POINT}/boot
  	umount ${MOUNT_POINT}
! 	/usr/mdec/installboot -v -f /usr/mdec/biosboot.sym ${VND_RDEV}
  	vnconfig -u ${VND_CDEV}
  
  unconfig:
>Audit-Trail:
>Unformatted: