rane 05/09/10 21:09:01 Modified: xml/htdocs/doc/en gentoo-freebsd.xml Log: update by citizen428 from #105533
Revision Changes Path 1.3 +31 -20 xml/htdocs/doc/en/gentoo-freebsd.xml file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-freebsd.xml?rev=1.3&content-type=text/x-cvsweb-markup&cvsroot=gentoo plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-freebsd.xml?rev=1.3&content-type=text/plain&cvsroot=gentoo diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/gentoo-freebsd.xml.diff?r1=1.2&r2=1.3&cvsroot=gentoo Index: gentoo-freebsd.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- gentoo-freebsd.xml 9 Sep 2005 11:09:07 -0000 1.2 +++ gentoo-freebsd.xml 10 Sep 2005 21:09:01 -0000 1.3 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.2 2005/09/09 11:09:07 fox2mike Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.3 2005/09/10 21:09:01 rane Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/gentoo-freebsd.xml"> @@ -28,8 +28,8 @@ <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> <license/> -<version>1.1</version> -<date>2005-09-09</date> +<version>1.2</version> +<date>2005-09-10</date> <chapter> <title>Introduction to FreeBSD</title> @@ -171,6 +171,21 @@ # <i>tar -jxvpf stage3-x86-fbsd-20050811.tar.bz2</i> <comment>(You can delete the tarball with the following command if you want to.)</comment> # <i>rm stage3-x86-fbsd-20050811.tar.bz2</i> +<comment>(Create a home directory for root.)</comment> +# <i>mkdir /mnt/gfbsd/root</i> +</pre> + +<p> +Before chrooting into the newly-extracted stage, you first must obtain a copy of +the Gentoo/FreeBSD overlay. If you are not a Gentoo developer, you can get it +from the mirror provided by <mail link="[EMAIL PROTECTED]">Nick Jones</mail>. +Theoretically, you could put this overlay in any directory you like, but from +now on we will just assume that you have downloaded it to +<path>/usr/local/portage/gentoo-freebsd</path>. +</p> + +<pre caption="Getting the Gentoo/FreeBSD portage overlay"> +# <i>cvs -d:pserver:[EMAIL PROTECTED]:/var/cvsroot -q -z9 co -R gentoo-projects/bsd/fbsd/</i> </pre> <p> @@ -185,18 +200,6 @@ </pre> <p> -Once inside the chroot you have to obtain a copy of the Gentoo/FreeBSD overlay. -If you are not a Gentoo developer, you can get it from the mirror provided by -<mail link="[EMAIL PROTECTED]">Nick Jones</mail>. Theoretically, you could -put this overlay in any directory you like, but from now on we will just assume -that you have downloaded it to <path>/usr/local/portage/gentoo-freebsd</path>. -</p> - -<pre caption="Getting the Gentoo/FreeBSD portage overlay"> -# <i>cvs -d:pserver:[EMAIL PROTECTED]:/var/cvsroot -q -z9 co -R gentoo-projects/bsd/fbsd/</i> -</pre> - -<p> After you got hold of the Gentoo/FreeBSD overlay, it's time to link <path>/etc/make.profile</path> to the correct profile and add get your <path>/etc/make.conf</path> ready for Gentoo/FreeBSD. @@ -228,16 +231,24 @@ </p> <pre caption="Final configuration"> -<comment>(Prevent crt1.o from getting removed by emerging gcc)</comment> +<comment>(Prevent crt1.o from getting removed by emerging gcc.)</comment> # <i>chflags schg /usr/lib/crt1.o</i> -<comment>(Emerge binary packages for binutils and patch provided by the stage3 tarball)</comment> -# <i>emerge -K binutils patch</i> -<comment>(Select the correct gcc)</comment> +<comment>(Update the binutils installed by the stage3 tarball.)</comment> +# <i>emerge -u binutils</i> +<comment>(Select the correct gcc.)</comment> # <i>gcc-config 1</i> -<comment>(Re-emerging python, portage and py-freebsd)</comment> +# <i>source /etc/profile</i> +<comment>(Start the following script to fix a current bug in the stage3.)</comment> +# <i>/usr/local/portage/gentoo-freebsd/scripts/domove.sh</i> +<comment>(Re-emerge python, portage and py-freebsd.)</comment> # <i>emerge --nodeps python portage py-freebsd</i> </pre> +<note> +After gcc-config you will notice a message about GCC-SPECS which you can safely +ignore. +</note> + <p> Congratulations, by the time you have reached this step you should have a running Gentoo/FreeBSD system! If you want, you can now rebuild the system's -- [email protected] mailing list
