DragonFly-2.2.1.14.g444a5 DragonFly_RELEASE_2_2 sys/conf kern.post.mk newvers.sh

Sascha Wildner swildner at crater.dragonflybsd.org
Tue May 19 12:19:49 PDT 2009


commit 444a56fce9daedad4fe5ee03ecca4e212d152d43
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/444a56fce9daedad4fe5ee03ecca4e212d152d43


-- 
DragonFly BSD source repository





More information about the Commits mailing list