Date: Thu, 30 Dec 2004 00:25:36 +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: <20041229222536.GD36053@ip.net.ua> In-Reply-To: <41D31EC9.5050909@portaone.com> References: <41D31B8E.7030305@portaone.com> <41D31CEE.5040803@wadham.ox.ac.uk> <41D31EC9.5050909@portaone.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 > >>to usage of vn(4) in the release building process, has anybody any > >>insights about actual state of things and/or another potential > >>problems in mind. If the only problem is vn(4) vs. md(4), I think it > >>can be solved quite easily, while providing a good way to avoid having > >>separate test machines for oldest branches. > > > > > >I'm fairly certain that this is possible; certainly what I do on my FreeBSD > >Update buildbox (building 4.x worlds and kernels inside jails while running > >a 5.x kernel) is pretty much equivalent. > > Making buildworld & buildkernel is not the same as building release, > since make release involves creating floppies, even for the CD-based > install, which in turn requires vn(4) or md(4). > 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 devfs > >inside the 4.x chroot rather than trying to MAKEDEV everything. I'm not > >sure if the `make release` code handles this. > > Checked release building scripts and found that there is some > conditional code already which uses vn(4) on older system and md(4) on > newer ones. Will try now to see if I can get it working. > > Thanks for turning me in the right direction. > 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, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB0y7gqRfpzJluFF4RAir4AJ9Tf7WhVDHKak4LvLyKCdjmlAbkmwCeMuma dERI2Kt54b7xgOhSebS6yA0= =teW5 -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041229222536.GD36053>
