Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2008 02:14:49 +0100
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Bogdan =?utf-8?q?=C4=86ulibrk?= <bc@default.co.yu>
Subject:   Re: It is safe to build ports for 7.0 from a 6.3 chroot?
Message-ID:  <200803040214.50082.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <47CC9C65.9090409@default.co.yu>
References:  <20080303200933.GA909@gauss.sanabria.es> <47CC9C65.9090409@default.co.yu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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