Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 1998 14:48:22 -0700
From:      Studded <Studded@san.rr.com>
To:        Greg Lehey <grog@lemis.com>
Cc:        Karl Pielorz <kpielorz@tdx.co.uk>, current@FreeBSD.ORG
Subject:   Re: Quick Question re: Dmesg & Current Version
Message-ID:  <35391FA6.79CA8363@san.rr.com>
References:  <353802A2.CB67FCE7@tdx.co.uk> <19980418113504.U1090@freebie.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey wrote:
 
> Somewhere, probably.  When I used ctm, I modified /sys/conf/newvers.sh
> to include the ctm update number in the header, but I haven't found
> anything useful in the CVS database.  Let me know if you do.

	I have a little script that I run before a make world, one of the
things it does is insert the date in newvers.sh.

# Add today's date so I know when this was built
sed s/SNAPDATE=\"\"/SNAPDATE=\"`date +%m%d`\"/
/usr/src/sys/conf/newvers.sh \
        > /usr/src/sys/conf/newvers.sh.sed
cp /usr/src/sys/conf/newvers.sh.sed /usr/src/sys/conf/newvers.sh &&
        rm /usr/src/sys/conf/newvers.sh.sed

echo ''
grep 'SNAPDATE=' /usr/src/sys/conf/newvers.sh

	If you'd like to see the rest of the script, 
fetch http://home.san.rr.com/freebsd/mwprep

Hope this is useful,

Doug

-- 
***         Chief Operations Officer, DALnet IRC network       ***
*** Proud designer and maintainer of the world's largest Internet
***    Relay Chat server with 5,328 simultaneous connections.
*** Try spider.dal.net on ports 6662-4    (Powered by FreeBSD)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35391FA6.79CA8363>