From owner-freebsd-current Wed Jan 29 20:21:59 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 AB5CD37B401 for ; Wed, 29 Jan 2003 20:21:58 -0800 (PST) Received: from mail.rpi.edu (mail.rpi.edu [128.113.2.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A1B443F75 for ; Wed, 29 Jan 2003 20:21:57 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.12.1/8.12.1) with ESMTP id h0U4LfsR105392; Wed, 29 Jan 2003 23:21:41 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20030130040542.GA46905@troutmask.apl.washington.edu> References: <20030129191822.GO78848@starjuice.net> <20030130040542.GA46905@troutmask.apl.washington.edu> Date: Wed, 29 Jan 2003 23:21:39 -0500 To: Steve Kargl From: Garance A Drosihn Subject: Re: Seat-belt for source upgrades from stable to current Cc: Sheldon Hearn , current@FreeBSD.ORG Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: MIMEDefang 2.3 (www dot roaringpenguin dot com slash mimedefang) 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 At 8:05 PM -0800 1/29/03, Steve Kargl wrote: >On Wed, Jan 29, 2003, Garance A Drosihn wrote: > > 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. Well, then, just have the branch-tag show up in some file that is somewhere else in the /usr/src tree. It ain't hard to do. This new check would not go into effect until you updated your /usr/src tree, and the same update could bring in a /usr/src/BRANCH file. >uname(1) works on both 4.7 and 5.0. This seems >like a trivial problem to fix. If you use something fixed like uname, then what does one do once they *DO* want to switch from one branch to another one? -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message