From owner-freebsd-current@FreeBSD.ORG Wed Dec 29 22:25:30 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 9F15616A4CE for ; Wed, 29 Dec 2004 22:25:30 +0000 (GMT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66BA543D1D for ; Wed, 29 Dec 2004 22:25:29 +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 iBTMPR2D055891; Thu, 30 Dec 2004 00:25:27 +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 84602-10; Thu, 30 Dec 2004 00:25:26 +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 iBTMPQGi055888 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 30 Dec 2004 00:25:26 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.1/8.13.1) id iBTMPaX1074580; Thu, 30 Dec 2004 00:25:37 +0200 (EET) (envelope-from ru) Date: Thu, 30 Dec 2004 00:25:36 +0200 From: Ruslan Ermilov To: Maxim Sobolev Message-ID: <20041229222536.GD36053@ip.net.ua> References: <41D31B8E.7030305@portaone.com> <41D31CEE.5040803@wadham.ox.ac.uk> <41D31EC9.5050909@portaone.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YToU2i3Vx8H2dn7O" Content-Disposition: inline In-Reply-To: <41D31EC9.5050909@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 22:25:30 -0000 --YToU2i3Vx8H2dn7O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Maxim, On Wed, Dec 29, 2004 at 11:16:57PM +0200, Maxim Sobolev wrote: > Colin Percival wrote: > >Maxim Sobolev wrote: > > > >>Does anybody knows if subject is possible? I guess that it is not due= =20 > >>to usage of vn(4) in the release building process, has anybody any=20 > >>insights about actual state of things and/or another potential=20 > >>problems in mind. If the only problem is vn(4) vs. md(4), I think it=20 > >>can be solved quite easily, while providing a good way to avoid having= =20 > >>separate test machines for oldest branches. > > > > > >I'm fairly certain that this is possible; certainly what I do on my Free= BSD > >Update buildbox (building 4.x worlds and kernels inside jails while runn= ing > >a 5.x kernel) is pretty much equivalent. >=20 > Making buildworld & buildkernel is not the same as building release,=20 > since make release involves creating floppies, even for the CD-based=20 > install, which in turn requires vn(4) or md(4). >=20 The doFS.sh script (even in 4.x) supports both vn(4) and md(4). > >One problem you may encounter involves /dev -- you'll need to mount a de= vfs > >inside the 4.x chroot rather than trying to MAKEDEV everything. I'm not > >sure if the `make release` code handles this. >=20 > Checked release building scripts and found that there is some=20 > conditional code already which uses vn(4) on older system and md(4) on=20 > newer ones. Will try now to see if I can get it working. >=20 > Thanks for turning me in the right direction. >=20 One thing you'll definitely need is to install the Perl port in LOCAL_SCRIPT. Mounting /dev (much like the RELENG_5 and HEAD versions of release/Makefile do) will also be needed. Note that you should be using the 4.x version of release/Makefile* to start "make release", and use WORLDDIR to point to your /usr/src, something like this: cd /tmp cvs co -rRELENG_4 -l release cd /usr/src/release make -f /tmp/Makefile release ... P.S. Last time I tried it (more than a year ago), it worked. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --YToU2i3Vx8H2dn7O Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB0y7gqRfpzJluFF4RAir4AJ9Tf7WhVDHKak4LvLyKCdjmlAbkmwCeMuma dERI2Kt54b7xgOhSebS6yA0= =teW5 -----END PGP SIGNATURE----- --YToU2i3Vx8H2dn7O--