Date: Mon, 29 Apr 2002 08:56:50 -0400 (EDT) From: John Baldwin <jhb@FreeBSD.org> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: Makoto Matsushita <matusita@jp.FreeBSD.org>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, Marcel Moolenaar <marcel@xcllnt.net> Subject: Re: cvs commit: src Makefile Makefile.inc1 src/etc Makefile src/ Message-ID: <XFMail.20020429085650.jhb@FreeBSD.org> In-Reply-To: <20020427140443.GA35685@sunbay.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27-Apr-2002 Ruslan Ermilov wrote:
> After so much noise, let me tell you the truth now. :-)
>
> The old version worked like this (the numbering does not resemble
> the release.X steps):
>
> 1. Install the same world that you're currently running into a chroot
> environment.
>
> 2. Check out fresh sources in the chroot's /usr/src and chroot into
> there. (The next steps are done in the chroot'ed environment.)
>
> 3. Build world from /usr/src and install it under root. This has
> the following disadvantages:
>
> o Installworld from step 1 should install the world _compatible_
> with the world built in this step, otherwise the new world may
> not be able to run with the current kernel. That means that
> you should run a relatively fresh (ideally, the same /usr/src
> stuff as in chroot) world before rolling a release. That's
> why I wrote that my patch obviates the need to have an up-to-
> date world.
This isn't a bad assumption in my opinion, but anyways.
> o You can't install and run the world for a different arch.
You didn't read my e-mail at all. I said that you would still build
a _native_ world first and install it, and _then_ do an additional
buildworld to do the cross-arch build. That was the simple part
since the entire patch (other than using TARGET in a few places) would
consist of a:
if (TARGET_ARCH != MACHINE_ARCH)
make buildworld
endif
or some such. 3 lines. :)
But anyways, no one else agrees with me so it doesn't matter.
--
John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020429085650.jhb>
