Subject: RE: osrelease.sh / param.h
To: None <xs@kittenz.org>
From: Nicolas Saurbier <Nicolas.Saurbier@biodata.de>
List: netbsd-help
Date: 08/06/2002 14:51:05
ok, but it works now..
I think the problem was the decreasing of the version.
I changed it now to version 4.0.0 and it works.

"sysctl -n kern.ostype" is now: "Gateway"
"sysctl -n kern.osrelease" is now "4.0.0"

I=B4m still working on the "sysctl -n kern.version" output...

btw, does any1 know, where the copyright output after login comes =
from????

Nic


-----Original Message-----
From: xs@kittenz.org [mailto:xs@kittenz.org]
Sent: Dienstag, 6. August 2002 14:08
To: Nicolas Saurbier
Cc: netbsd-help@netbsd.org
Subject: Re: osrelease.sh / param.h


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=20
> 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=20
> following changes:
> /sys/sys/param.h:
...
> #define __NetBSD_Version__  100000100   /* Gateway 1.0.1 */
>=20
> 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.