Date: Thu, 30 Dec 2004 01:04:42 +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: <20041229230442.GA3389@ip.net.ua> In-Reply-To: <41D33379.10203@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>
next in thread | previous in thread | raw e-mail | index | archive | help
--vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 30, 2004 at 12:45:13AM +0200, Maxim Sobolev wrote: > Ruslan Ermilov wrote: > >Hi Maxim, > > > >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 ... >=20 > Do you mean that I need to have 5.x/6.x in /usr/src pointed to by=20 > WORLDDIR, while 4.x in /tmp/src and start making release in=20 > /tmp/src/release? >=20 I eman what I said: you need to use the target (4.x) version of release/Makefile*, and /usr/src matching your running world and kernel (5.x). WORLDDIR is not supported by 4.x release/Makefile, hence the sequence above. > I am not sure about perl, why do I need it? Isn't initial make=20 > buildworld expected to build it and install into pristive chroot'ed tree? >=20 You need Perl because 5.x doesn't have Perl in the base system, hence initial "make installworld" (which will install 5.x world into ${CHROOTDIR}) will not install Perl needed to build a 4.x kernel. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB0zgKqRfpzJluFF4RAkmcAJ4ioQx+keYP+IO2QowaaIFxrWZ6oQCdHw4x 0yG6ViozJ6TWjBOLMzUCu50= =gICH -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041229230442.GA3389>