From owner-freebsd-current@FreeBSD.ORG Wed Dec 29 23:40:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3233316A4CF for ; Wed, 29 Dec 2004 23:40:51 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 681D043D46 for ; Wed, 29 Dec 2004 23:40:50 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iBTNenLs063412; Thu, 30 Dec 2004 01:40:49 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ipnet [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 92789-18; Thu, 30 Dec 2004 01:40:48 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id iBTNemE5063409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 30 Dec 2004 01:40:48 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iBTNewY5060471; Thu, 30 Dec 2004 01:40:58 +0200 (EET) (envelope-from ru) Date: Thu, 30 Dec 2004 01:40:58 +0200 From: Ruslan Ermilov To: Maxim Sobolev Message-ID: <20041229234058.GB40328@ip.net.ua> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Y7xTucakfITjPcLV" Content-Disposition: inline In-Reply-To: <41D33D2A.9080308@portaone.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at ip.net.ua cc: current@freebsd.org Subject: Re: Building 4.x releases on 5.x and 6.x X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 23:40:51 -0000 --Y7xTucakfITjPcLV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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= =20 > >on 5.x/6.x system, put 4.x sources into /usr/src and will try to build= =20 > >5.x release from within that chroot. As far as I can see, only=20 > >operations that use some devices (e.g. md(4) vs vn(4)) can lead to a=20 > >problem, but this . Anyway, pretty soon we will know for sure - it is=20 > >now rolling distribution tarballs here. >=20 > OK, I see what you mean now. doFS supports usage of mdconfig instead of= =20 > vnconfig, but since world built from 4.x used to create pristine=20 > environment from make release doesn't have one it doesn't work. >=20 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, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --Y7xTucakfITjPcLV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB00CKqRfpzJluFF4RApHiAJ9TAitLobroC5FH96VSKudfcr61UgCfcbK7 lAHzNwYu9My6jI4KYDJRJjE= =ofjV -----END PGP SIGNATURE----- --Y7xTucakfITjPcLV--