Date: Mon, 17 Dec 2007 23:01:32 GMT From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 131132 for review Message-ID: <200712172301.lBHN1Wgh034129@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131132 Change 131132 by peter@peter_daintree on 2007/12/17 23:00:44 Take a unique uuid to tag the build with. This can go in the minidump header. Affected files ... .. //depot/projects/hammer/sys/conf/newvers.sh#19 edit Differences ... ==== //depot/projects/hammer/sys/conf/newvers.sh#19 (text+ko) ==== @@ -86,6 +86,7 @@ touch version v=`cat version` u=${USER:-root} d=`pwd` h=${HOSTNAME:-`hostname`} t=`date` i=`${MAKE:-make} -V KERN_IDENT` +u=`uuidgen` cat << EOF > vers.c $COPYRIGHT #define SCCSSTR "@(#)${VERSION} #${v}: ${t}" @@ -98,6 +99,7 @@ char osrelease[sizeof(RELSTR) > 32 ? sizeof(RELSTR) : 32] = RELSTR; int osreldate = ${RELDATE}; char kern_ident[] = "${i}"; +char build_uuid[] = "${u}"; EOF echo `expr ${v} + 1` > version
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712172301.lBHN1Wgh034129>