Subject: bin/26034: build.sh install=... doesn't update .../etc/release
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@rfhpc8323.fh-regensburg.de>
List: netbsd-bugs
Date: 06/24/2004 09:48:38
>Number:         26034
>Category:       bin
>Synopsis:       build.sh install=... doesn't update .../etc/release
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 24 07:49:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hubert Feyrer
>Release:        NetBSD 2.0_BETA
>Organization:
Hubert Feyrer <hubertf@channel.regensburg.org>
>Environment:
	
	
System: NetBSD yui.fh-regensburg.de 2.0_BETA NetBSD 2.0_BETA (YUI) #1: Mon Apr 19 23:37:34 MEST 2004 feyrer@yui.fh-regensburg.de:/disk4/cvs/src-2.0/sys/arch/i386/compile/obj.i386/YUI i386
Architecture: i386
Machine: i386
>Description:
	The current model that I update my userland with is

	1) build.sh -U release
	2) build.sh install=/

	unfortunately, that doesn't update /etc/release (which was primarily
	invented to indicate the userland version/time of installation).

	Not updating /etc/release (or for 'build.sh install=foo', 
	foo/etc/release) seems contrary to this purpose.

>How-To-Repeat:
	Repeat steps 1) and 2) from above.

>Fix:
	Make 'build.sh install=...' run the etc-release target from
	src/etc/Makefile, and then install the file. Or maybe even better,
	make the target run on the build/release part, and just copy it
	over in the install-stage (in case there's a distinctive amount
	of time in between the two steps...)
>Release-Note:
>Audit-Trail:
>Unformatted: