From owner-freebsd-current Wed Jan 29 20: 5:44 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4EC737B401 for ; Wed, 29 Jan 2003 20:05:43 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30E6143F3F for ; Wed, 29 Jan 2003 20:05:43 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.6) with ESMTP id h0U45gXv046949; Wed, 29 Jan 2003 20:05:42 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id h0U45gjp046948; Wed, 29 Jan 2003 20:05:42 -0800 (PST) Date: Wed, 29 Jan 2003 20:05:42 -0800 From: Steve Kargl To: Garance A Drosihn Cc: Sheldon Hearn , current@FreeBSD.ORG Subject: Re: Seat-belt for source upgrades from stable to current Message-ID: <20030130040542.GA46905@troutmask.apl.washington.edu> References: <20030129191822.GO78848@starjuice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Jan 29, 2003 at 10:35:40PM -0500, Garance A Drosihn wrote: > At 9:18 PM +0200 1/29/03, Sheldon Hearn wrote: > >Can anyone think of a good way to implement an installworld / > >installkernel seat-belt for source upgrades from stable to current? > > > >What I'm looking for is a way for installworld and installkernel > >in the current source to look for some signature in the target > >filesystem that suggests that a stable world is about to be > >upgraded to current. > > How about requiring the user to touch some file in / or /boot which > indicates the branch-tag that's acceptable for installworlds? Then > you just need to propagate the tag from the 'cvs co' stage to some > file under /usr/src (such as /usr/src/CVS/Tag ). > > So, maybe compare /usr/src/CVS/Tag to /boot/BRANCH_TAG, where the > second file has to be typed in by the user, by hand. Eh, maybe > /boot isn't the right place for it. Well, maybe /.branch_tag > I don't have a /usr/src/CVS directory. I suspect most people don't pulldown the cvs repository. uname(1) works on both 4.7 and 5.0. This seems like a trivial problem to fix. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message