Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2000 18:22:51 +0100 (CET)
From:      FreeBSD-gnats-submit@oldach.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/22979: newvers.sh should retain SNAPDATE from environment
Message-ID:  <200011201722.eAKHMoc51471@sep.hamburg.com>

next in thread | raw e-mail | index | archive | help

>Number:         22979
>Category:       conf
>Synopsis:       sys/conf/newvers.sh erases SNAPDATE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 20 09:30:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Helge Oldach
>Release:        FreeBSD 4.2-BETA i386
>Organization:
>Environment:


>Description:

	sys/conf/newvers.sh uses the SNAPDATE variable to amend the
	RELEASE tag of a kernel. For custom kernels SNAPDATE could
	be used to add private tags (e.g. CTM delta number, or date)
	to the kernel tag. Unfortunately newvers.sh zeroes out
	SNAPDATE before applying it to RELEASE, rendering it useless.

>How-To-Repeat:


>Fix:

--- /usr/src/sys/conf/newvers.sh	Tue Oct 31 20:34:15 2000
+++ /tmp/q/newvers.sh	Mon Nov 20 18:19:36 2000
@@ -38,7 +38,6 @@
 REVISION="4.2"
 BRANCH="BETA"
 RELEASE="${REVISION}-${BRANCH}"
-SNAPDATE=""
 if [ "X${SNAPDATE}" != "X" ]; then
 	RELEASE="${RELEASE}-${SNAPDATE}"
 fi
 
 

>Release-Note:
>Audit-Trail:
>Unformatted:


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011201722.eAKHMoc51471>