Re: Build counter is always zero
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
Re: Build counter is always zero
On 11/22/16 13:26, 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? > > Thank you in advance > > /Heiko > > Later builds I thought fixed the problem. Yes... the version(s) is held here... /usr/obj/sys/arch/*/compile/[GR]*/version I back these up, as I wipe the whole /usr/obj each time, then restore them.
Build counter is always zero
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? Thank you in advance /Heiko