From owner-freebsd-stable@FreeBSD.ORG Thu Jun 16 02:22:57 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6295616A41C for ; Thu, 16 Jun 2005 02:22:57 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23B6143D1D for ; Thu, 16 Jun 2005 02:22:57 +0000 (GMT) (envelope-from marsgmiro@gmail.com) Received: by zproxy.gmail.com with SMTP id 12so93416nzp for ; Wed, 15 Jun 2005 19:22:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KVN1DCcVeR6phKjOS/sKKh1jemGcFef/Mc+Sj0VvtOVKCdJIg10ediqjHZAclZB4G4u5wiSuBDwEivmk3EjlFfiNjKTk5rUrSNpGFukMnDTemz4Ci1Y4/VfrwJx6rr0g724uo/tMwN0Xri3uZ3vhEMuDqVhLu0TQorAqUXUzF0k= Received: by 10.36.18.8 with SMTP id 8mr92609nzr; Wed, 15 Jun 2005 19:22:56 -0700 (PDT) Received: by 10.36.72.13 with HTTP; Wed, 15 Jun 2005 19:22:54 -0700 (PDT) Message-ID: <28edec3c050615192230861c89@mail.gmail.com> Date: Thu, 16 Jun 2005 10:22:54 +0800 From: "Mars G. Miro" To: Scot Hetzel In-Reply-To: <790a9fff050615084861e0ac85@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <28edec3c0506140449509acb4c@mail.gmail.com> <790a9fff05061409093da406f6@mail.gmail.com> <28edec3c050614191644ef093b@mail.gmail.com> <790a9fff050615084861e0ac85@mail.gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: NFS upgrading from 5.2.1->5.4 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Mars G. Miro" List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2005 02:22:57 -0000 On 6/15/05, Scot Hetzel wrote: > On 6/14/05, Mars G. Miro wrote: > > > If the build machine and install machine were at the same -RELEASE > > > number, I don't believe you would have come across this problem. > > >=20 > > I'm not sure I get you but the purpose of making the world in FreeBSD > > is ought to be able to upgrade across releases (some people even > > report upgrading from major releases, e.g 4.X to 5.X), albeit minor > > hurdles (like the one I've experienced). > >=20 > Normally this would work, when the build machine and the install > machine are the same computer. But when you NFS mount the the built > sources on another system it may or may not work. For example you > wouldn't build the sources on a 5.x system and then NFS mount the > built sources to a 4.x system. The reason is that the build system > custom tailors the build tools for the 5.x system, and they will most > likely not run on the 4.x system. >=20 True. But let's assume that we're not upgrading from major releases (4.X to 5.X), as it's even discouraged to do so, but only from the same minor release/branch (e.g. 5.2.1 to 5.4, or 4.4 to 4.10), I don't think that NFS-mounting the built sources would not work, as the build{kernel|world} stage only builds the kernel and world at /usr/obj. In my own experience, it generally works, in fact, this doesn't only work for NFS but for remote upgrades as well, I've done something like building the kernel/world in a ultrafast box, tar bzip'ing /usr/src and /usr/obj, uploading them unto a remote server that desperately need to be upgraded and doing the install kernel/world on that remote server. > Scot >=20 cheers mars