Date: Thu, 30 Dec 2004 01:40:58 +0200 From: Ruslan Ermilov <ru@freebsd.org> To: Maxim Sobolev <sobomax@portaone.com> Cc: current@freebsd.org Subject: Re: Building 4.x releases on 5.x and 6.x Message-ID: <20041229234058.GB40328@ip.net.ua> In-Reply-To: <41D33D2A.9080308@portaone.com> References: <41D31B8E.7030305@portaone.com> <41D31CEE.5040803@wadham.ox.ac.uk> <41D31EC9.5050909@portaone.com> <20041229222536.GD36053@ip.net.ua> <41D33379.10203@portaone.com> <20041229230442.GA3389@ip.net.ua> <41D33B15.8050401@portaone.com> <41D33D2A.9080308@portaone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Thu, Dec 30, 2004 at 01:26:34AM +0200, Maxim Sobolev wrote:
[...]
> >Maybe I am missing something obvious, but what if I'll build 4.x chroot
> >on 5.x/6.x system, put 4.x sources into /usr/src and will try to build
> >5.x release from within that chroot. As far as I can see, only
> >operations that use some devices (e.g. md(4) vs vn(4)) can lead to a
> >problem, but this . Anyway, pretty soon we will know for sure - it is
> >now rolling distribution tarballs here.
>
> OK, I see what you mean now. doFS supports usage of mdconfig instead of
> vnconfig, but since world built from 4.x used to create pristine
> environment from make release doesn't have one it doesn't work.
>
The way you cross-build 4.x release on 5.x/6.x is by installing
the 5.x/6.x world into ${CHROOTDIR}, and using that to cross-
build the 4.x world and kernel, and other bits specific to
"make release". And yes, on a 5.x system, you want to use the
5.x tools to build file system images, including using the md(4)
and mdconfig(8) (5.x kernel doesn't have vn(4)).
Cheers,
--
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)
iD8DBQFB00CKqRfpzJluFF4RApHiAJ9TAitLobroC5FH96VSKudfcr61UgCfcbK7
lAHzNwYu9My6jI4KYDJRJjE=
=ofjV
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041229234058.GB40328>
