DragonFly-2.3.1.96.g7e7d1 master sys/conf kern.post.mk newvers.sh

Sascha Wildner swildner at crater.dragonflybsd.org
Tue May 19 07:05:29 PDT 2009


commit 7e7d17cb48838b48389fb990950f2959b9635e63
Author: Sascha Wildner <saw at online.de>
Date:   Tue May 19 16:04:12 2009 +0200

    newvers.sh: Take the src/ dir as an argument instead of hard coding it.
    
    This fixes the issue where the last number in our version was included
    only if /usr/src was present at build time, which resulted in different
    output of uname -r, sysctl kern.{osrelease,version}, etc. across
    different systems (e.g. "2.3.1-DEVELOPMENT" vs. "2.3-DEVELOPMENT").
    
    This commit also removes the passing of ${KERN_IDENT} and ${IDENT} to
    newvers.sh (both of which are not used by it) and performs some
    additional cleanup.
    
    Brought-to-my-attention-by: Antonio Huete Jimenez <ahuete.devel at gmail.com>
    Reviewed-by:                dillon

Summary of changes:
 sys/conf/kern.post.mk |    2 +-
 sys/conf/newvers.sh   |   42 +++++++++++++++++++++---------------------
 2 files changed, 22 insertions(+), 22 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7e7d17cb48838b48389fb990950f2959b9635e63


-- 
DragonFly BSD source repository





More information about the Commits mailing list