Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 20:59:57 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        Sheldon Hearn <sheldonh@starjuice.net>, current@FreeBSD.ORG
Subject:   Re: Seat-belt for source upgrades from stable to current
Message-ID:  <20030130045957.GA47151@troutmask.apl.washington.edu>
In-Reply-To: <p05200f33ba5e581a8f86@[128.113.24.47]>
References:  <20030129191822.GO78848@starjuice.net> <p05200f31ba5e4c0bbc26@[128.113.24.47]> <20030130040542.GA46905@troutmask.apl.washington.edu> <p05200f33ba5e581a8f86@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 29, 2003 at 11:21:39PM -0500, Garance A Drosihn wrote:
> At 8:05 PM -0800 1/29/03, Steve Kargl wrote:
> 
> >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?
> 

Compare output from /usr/bin/uname -r to ${OBJDIR}/usr.bin/uname/uname -r.
If the strings are the same, then install.  If the strings are different
or an error occurs either abort the install or wait for keyboard input
to continue the installation.  

You don't need a special file to indicate what version of
FreeBSD you have.  uname -r tells you.

-- 
Steve

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




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