Subject: Re: osrelease.sh / param.h
To: Nicolas Saurbier <Nicolas.Saurbier@biodata.de>
From: None <xs@kittenz.org>
List: netbsd-help
Date: 08/06/2002 13:07:39
on Tue, Aug 06, 2002 at 12:16:26PM +0200, Nicolas Saurbier wrote:
> has  any1 ever tried to change the osrelease??? Changing the ostype was 
> easy, but the osrelease...

Every binary as an os-specific signature in it, as well as every library
being versioned in such a way that it can be related to a NetBSD release,
not to forget NetBSD being mentioned in every man page, in the boot up
message. etc.

> I found the files /sys/conf/osrelease.sh and /sys/sys/param.h and did the 
> following changes:
> /sys/sys/param.h:
...
> #define __NetBSD_Version__  100000100   /* Gateway 1.0.1 */
> 
> But building a new Kernel fails with the following error:

That is because ipf is expecting a NetBSD 1.0.1 kernel, with 1.0.1 semantics.