Subject: Re: CVS commit: src/usr.sbin/installboot
To: David Laight <>
From: Valeriy E. Ushakov <>
List: source-changes
Date: 11/14/2003 01:01:18
On Thu, Nov 13, 2003 at 08:19:43 +0000, David Laight wrote:

> Module Name:	src
> Committed By:	dsl
> Date:		Thu Nov 13 08:19:43 UTC 2003
> Modified Files:
> 	src/usr.sbin/installboot: Makefile installboot.8 machines.c
> 	src/usr.sbin/installboot/arch: hp300.c
> Removed Files:
> 	src/usr.sbin/installboot: hp300_volhdr.h
> Log Message:
> roundup() write of hp300 boot code to a multiplr of the disk sector size.
> and re-instate the hp300 code - seems to work.

Including sys/disklabel.h in a host tool is a very bad idea, because
even though NetBSD's sys/disklabel.h is used, it, in turn, includes
machine/disklabel.h - which doesn't exist if you cross build on some
other system.

So this breaks the cross build for non-NetBSD hosts.

SY, Uwe
--                         |       Zu Grunde kommen            |       Ist zu Grunde gehen