From owner-freebsd-questions@FreeBSD.ORG Tue Mar 4 01:15:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EECA41065670 for ; Tue, 4 Mar 2008 01:15:06 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 880678FC17 for ; Tue, 4 Mar 2008 01:15:06 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 4CF5E1CDE4; Mon, 3 Mar 2008 16:15:05 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 4 Mar 2008 02:14:49 +0100 User-Agent: KMail/1.9.7 References: <20080303200933.GA909@gauss.sanabria.es> <47CC9C65.9090409@default.co.yu> In-Reply-To: <47CC9C65.9090409@default.co.yu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200803040214.50082.fbsd.questions@rachie.is-a-geek.net> Cc: Bogdan =?utf-8?q?=C4=86ulibrk?= Subject: Re: It is safe to build ports for 7.0 from a 6.3 chroot? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2008 01:15:07 -0000 On Tuesday 04 March 2008 01:48:37 Bogdan =C4=86ulibrk wrote: > Jose Garcia Juanino wrote: > | Hi everybody > | > | Actually, I do the following in order to update from 6.3 to 7.0: > | > | 1) dump my actual 6.3 filesystems /, /var and /usr into three new > | ones: /rel70, /rel70/usr and /rel70/var (I use the dump command, of > | course) > | > | 2) chroot /rel70 and mergemaster -p + buildkernel + buildworld + > | installkernel + installworld + mergemaster -i and such stuff > | > | 3) Inside the chroot, rebuild the ports > | > | 4) Reboot the new release > | > | > | Will I go into problems following this approach? The step 3) is the most > | dangerous, I believe, as I have executing 7.0 commands on a 6.3 kernel > | (even though only for compilation). > > 0) Do I need to reinvent wheel? > > > Joke off. Really, why would you try alternate way of upgrading, when > there's straight way to do it? Minimize downtime of services provided by ports? Jose: take a look at Tinderbox - it does exactly what you want to do: build= =20 ports for OS release X on OS release Y, using chroot. If you're unsure abou= t=20 your own method, because of OSVERSION or similar, do it using Tinderbox. =2D-=20 Mel Problem with today's modular software: they start with the modules and never get to the software part.