jkt 05/10/06 15:58:16 Modified: xml/htdocs/doc/en gentoo-freebsd.xml Log: #108285, "Update to gentoo-freebsd.xml" by citizen428
Revision Changes Path 1.7 +23 -46 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.7&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.7&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.6&r2=1.7&cvsroot=gentoo Index: gentoo-freebsd.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- gentoo-freebsd.xml 21 Sep 2005 19:16:21 -0000 1.6 +++ gentoo-freebsd.xml 6 Oct 2005 15:58:16 -0000 1.7 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.6 2005/09/21 19:16:21 jkt Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.7 2005/10/06 15:58:16 jkt 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.4</version> -<date>2005-09-21</date> +<version>1.5</version> +<date>2005-10-06</date> <chapter> <title>Introduction to FreeBSD</title> @@ -165,30 +165,36 @@ <pre caption="Obtaining and unpacking a stage3 tarball"> <comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment> -# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stage3-x86-fbsd-20050811.tar.bz2</i> -# <i>cp stage3-x86-fbsd-20050811.tar.bz2 /mnt/gfbsd/</i> +# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stage3-x86-fbsd-20051005.tar.bz2</i> +# <i>cp stage3-x86-fbsd-20051005.tar.bz2 /mnt/gfbsd/</i> # <i>cd /mnt/gfbsd/</i> -# <i>tar -jxvpf stage3-x86-fbsd-20050811.tar.bz2</i> +# <i>tar -jxvpf stage3-x86-fbsd-20051005.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> +# <i>rm stage3-x86-fbsd-20051005.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>. +Before chrooting into the newly-extracted stage, you first must obtain an up-to-date +copy of the Gentoo/FreeBSD overlay. The easiest way to achieve this is to to get our latest +snapshot which you than extract to <path>/usr/local/portage</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> +# <i>cd /usr/local/portage</i> +# <i>wget http://gentoo.osuosl.org/experimental/snapshots/portage-alt-overlay-latest.tar.bz2</i> +# <i>tar -xjf portage-alt-overlay-latest.tar.bz2</i> </pre> <p> +Alternatively, you can also use Subversion to check out the current version of the overlay. +If you are interested in this possibility, please refer to the <uri +link="http://www.gentoo.org/proj/en/gentoo-alt/overlay.xml">Gentoo/ALT overlay +documentation</uri>. +</p> + +<p> In order for your install to work, you need to mount the <path>/dev</path> filesystem from the currently running system into the Gentoo/FreeBSD mount point before proceeding with the chroot. @@ -197,6 +203,7 @@ <pre caption="Mounting the /dev filesystem and chrooting"> # <i>mount -t devfs none /mnt/gfbsd/dev/</i> # <i>chroot /mnt/gfbsd/ /bin/bash</i> +# <i>source /etc/profile</i> </pre> <p> @@ -206,14 +213,14 @@ </p> <pre caption="Setting up the profile and editing /etc/make.conf"> -# <i>ln -sf /usr/local/portage/gentoo-freebsd/profiles/default-bsd/fbsd/5.4/x86/ /etc/make.profile</i> +# <i>ln -sf /usr/local/portage/portage-alt-overlay/profiles/default-bsd/fbsd/5.4/x86/ /etc/make.profile</i> <comment>(FreeBSD's standard editor is ee, which is used to edit /etc/make.conf)</comment> # <i>ee /etc/make.conf</i> <comment>(Please make sure you add at least the following entries:)</comment> CHOST="i686-gentoo-freebsd5.4" ACCEPT_KEYWORDS="~x86-fbsd ~x86" FEATURES="-sandbox collision-protect" -PORTDIR_OVERLAY="/usr/local/portage/gentoo-freebsd" +PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay" </pre> <p> @@ -226,30 +233,6 @@ </pre> <p> -After you have synchronised your Portage tree, you only have to take a few last -steps before your Gentoo/FreeBSD system is ready to use. -</p> - -<pre caption="Final configuration"> -<comment>(Prevent crt1.o from getting removed by emerging gcc.)</comment> -# <i>chflags schg /usr/lib/crt1.o</i> -<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> -# <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 core packages. @@ -422,12 +405,6 @@ that on our <uri link="http://bugs.gentoo.org/">bugzilla</uri>. Please remember to use the "Gentoo BSD" product for your submission. </li> - <li> - Some ebuilds have hardcoded -ldl flags to link against libdl to get - <c>dlopen()</c>. This needs to be fixed (for further information, please - consult our <uri link="/proj/en/gentoo-alt/bsd/maintnotes.xml#doc_chap3"> - our Gentoo/*BSD Technotes Guide</uri>. - </li> <li>glib and gnome in general need a lot of fixes to be backported.</li> </ul> -- [email protected] mailing list
