On Tue, Nov 22, 2016 at 02:26:35PM +0100, Heiko wrote:
> Hello list members,
> 
> since there is the new build system for the kernel I always have: #0
> 
> $ uname -mnrsv
> OpenBSD any.host.name 6.0 GENERIC.MP#0 amd64
> 
> Is there a way to fix this?

This number is stored in the file

        /usr/obj/sys/arch/amd64/compile/GENERIC.MP/version

and it is incremented by the /sys/conf/newvers.sh script at the end of
the kernel build right before compiling vers.c and linking the kernel.

You can keep the kernel version number by not removing that file when
clearing out the obj/ directory before 'make build'.  I usually keep the
entire tree below /usr/obj/sys.

$ uname -v
GENERIC.MP#52

Reply via email to