On 2016/10/16 12:02, Theo Buehler wrote:
> On Sun, Oct 16, 2016 at 11:54:44AM +0200, Sebastien Marie wrote:
> > Since the switch to the new way to build kernels, the identification
> > string of kernels starts to be too "generic" (and unhelpfull for bug
> > report).

I noticed this today too :)

> Thanks, this was pointed out by jsg@ as well, and I currently have the
> following patch in my trees.  Perhaps an explicit parameter is better,
> but this seems to work well enough:
> 
> Index: newvers.sh
> ===================================================================
> RCS file: /var/cvs/src/sys/conf/newvers.sh,v
> retrieving revision 1.148
> diff -u -p -r1.148 newvers.sh
> --- newvers.sh        1 Sep 2016 14:12:07 -0000       1.148
> +++ newvers.sh        15 Oct 2016 01:11:18 -0000
> @@ -38,7 +38,7 @@ then
>  fi
>  
>  touch version
> -v=`cat version` u=${USER-root} d=`pwd` h=`hostname` t=`date`
> +v=`cat version` u=${USER-root} d=${PWD%/obj} h=`hostname` t=`date`
>  id=`basename "${d}"`
>  
>  # additional things which need version number upgrades:

I'm OK with that.

Reply via email to