From owner-freebsd-current Wed Jan 29 11:25:25 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 71F2037B401 for ; Wed, 29 Jan 2003 11:25:24 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 058FE43F85 for ; Wed, 29 Jan 2003 11:25:24 -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 h0TJPNXv043868; Wed, 29 Jan 2003 11:25:23 -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 h0TJPN1p043867; Wed, 29 Jan 2003 11:25:23 -0800 (PST) Date: Wed, 29 Jan 2003 11:25:23 -0800 From: Steve Kargl To: Sheldon Hearn Cc: current@FreeBSD.ORG Subject: Re: Seat-belt for source upgrades from stable to current Message-ID: <20030129192523.GA43685@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: <20030129191822.GO78848@starjuice.net> 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 09:18:22PM +0200, Sheldon Hearn wrote: > Hi folks, > > 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. > > I want this because far too many people, far too frequently, update > their source to HEAD by mistake and then end up with current when they > really wanted stable. [1] > > If this can be done cleanly, I'd like to do it. > > If not, I don't want it to be a hack. > > So, ideas on infallible signatures? > /usr/bin/uname -r /usr/obj/usr/src/usr.bin/uname/uname -r -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message