1 |
jkt 05/10/06 15:58:16 |
2 |
|
3 |
Modified: xml/htdocs/doc/en gentoo-freebsd.xml |
4 |
Log: |
5 |
#108285, "Update to gentoo-freebsd.xml" by citizen428 |
6 |
|
7 |
Revision Changes Path |
8 |
1.7 +23 -46 xml/htdocs/doc/en/gentoo-freebsd.xml |
9 |
|
10 |
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 |
11 |
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 |
12 |
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 |
13 |
|
14 |
Index: gentoo-freebsd.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v |
17 |
retrieving revision 1.6 |
18 |
retrieving revision 1.7 |
19 |
diff -u -r1.6 -r1.7 |
20 |
--- gentoo-freebsd.xml 21 Sep 2005 19:16:21 -0000 1.6 |
21 |
+++ gentoo-freebsd.xml 6 Oct 2005 15:58:16 -0000 1.7 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version="1.0" encoding="UTF-8"?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.6 2005/09/21 19:16:21 jkt Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-freebsd.xml,v 1.7 2005/10/06 15:58:16 jkt Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/gentoo-freebsd.xml"> |
29 |
@@ -28,8 +28,8 @@ |
30 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
31 |
<license/> |
32 |
|
33 |
-<version>1.4</version> |
34 |
-<date>2005-09-21</date> |
35 |
+<version>1.5</version> |
36 |
+<date>2005-10-06</date> |
37 |
|
38 |
<chapter> |
39 |
<title>Introduction to FreeBSD</title> |
40 |
@@ -165,30 +165,36 @@ |
41 |
|
42 |
<pre caption="Obtaining and unpacking a stage3 tarball"> |
43 |
<comment>(Any other Gentoo mirror which includes the experimental/ directory will also work.)</comment> |
44 |
-# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stage3-x86-fbsd-20050811.tar.bz2</i> |
45 |
-# <i>cp stage3-x86-fbsd-20050811.tar.bz2 /mnt/gfbsd/</i> |
46 |
+# <i>wget http://gentoo.osuosl.org/experimental/x86/freebsd/stage3-x86-fbsd-20051005.tar.bz2</i> |
47 |
+# <i>cp stage3-x86-fbsd-20051005.tar.bz2 /mnt/gfbsd/</i> |
48 |
# <i>cd /mnt/gfbsd/</i> |
49 |
-# <i>tar -jxvpf stage3-x86-fbsd-20050811.tar.bz2</i> |
50 |
+# <i>tar -jxvpf stage3-x86-fbsd-20051005.tar.bz2</i> |
51 |
<comment>(You can delete the tarball with the following command if you want to.)</comment> |
52 |
-# <i>rm stage3-x86-fbsd-20050811.tar.bz2</i> |
53 |
+# <i>rm stage3-x86-fbsd-20051005.tar.bz2</i> |
54 |
<comment>(Create a home directory for root.)</comment> |
55 |
# <i>mkdir /mnt/gfbsd/root</i> |
56 |
</pre> |
57 |
|
58 |
<p> |
59 |
-Before chrooting into the newly-extracted stage, you first must obtain a copy of |
60 |
-the Gentoo/FreeBSD overlay. If you are not a Gentoo developer, you can get it |
61 |
-from the mirror provided by <mail link="carpaski@g.o">Nick Jones</mail>. |
62 |
-Theoretically, you could put this overlay in any directory you like, but from |
63 |
-now on we will just assume that you have downloaded it to |
64 |
-<path>/usr/local/portage/gentoo-freebsd</path>. |
65 |
+Before chrooting into the newly-extracted stage, you first must obtain an up-to-date |
66 |
+copy of the Gentoo/FreeBSD overlay. The easiest way to achieve this is to to get our latest |
67 |
+snapshot which you than extract to <path>/usr/local/portage</path>. |
68 |
</p> |
69 |
|
70 |
<pre caption="Getting the Gentoo/FreeBSD portage overlay"> |
71 |
-# <i>cvs -d:pserver:anonymous@××××××××××××××.net:/var/cvsroot -q -z9 co -R gentoo-projects/bsd/fbsd/</i> |
72 |
+# <i>cd /usr/local/portage</i> |
73 |
+# <i>wget http://gentoo.osuosl.org/experimental/snapshots/portage-alt-overlay-latest.tar.bz2</i> |
74 |
+# <i>tar -xjf portage-alt-overlay-latest.tar.bz2</i> |
75 |
</pre> |
76 |
|
77 |
<p> |
78 |
+Alternatively, you can also use Subversion to check out the current version of the overlay. |
79 |
+If you are interested in this possibility, please refer to the <uri |
80 |
+link="http://www.gentoo.org/proj/en/gentoo-alt/overlay.xml">Gentoo/ALT overlay |
81 |
+documentation</uri>. |
82 |
+</p> |
83 |
+ |
84 |
+<p> |
85 |
In order for your install to work, you need to mount the <path>/dev</path> |
86 |
filesystem from the currently running system into the Gentoo/FreeBSD mount |
87 |
point before proceeding with the chroot. |
88 |
@@ -197,6 +203,7 @@ |
89 |
<pre caption="Mounting the /dev filesystem and chrooting"> |
90 |
# <i>mount -t devfs none /mnt/gfbsd/dev/</i> |
91 |
# <i>chroot /mnt/gfbsd/ /bin/bash</i> |
92 |
+# <i>source /etc/profile</i> |
93 |
</pre> |
94 |
|
95 |
<p> |
96 |
@@ -206,14 +213,14 @@ |
97 |
</p> |
98 |
|
99 |
<pre caption="Setting up the profile and editing /etc/make.conf"> |
100 |
-# <i>ln -sf /usr/local/portage/gentoo-freebsd/profiles/default-bsd/fbsd/5.4/x86/ /etc/make.profile</i> |
101 |
+# <i>ln -sf /usr/local/portage/portage-alt-overlay/profiles/default-bsd/fbsd/5.4/x86/ /etc/make.profile</i> |
102 |
<comment>(FreeBSD's standard editor is ee, which is used to edit /etc/make.conf)</comment> |
103 |
# <i>ee /etc/make.conf</i> |
104 |
<comment>(Please make sure you add at least the following entries:)</comment> |
105 |
CHOST="i686-gentoo-freebsd5.4" |
106 |
ACCEPT_KEYWORDS="~x86-fbsd ~x86" |
107 |
FEATURES="-sandbox collision-protect" |
108 |
-PORTDIR_OVERLAY="/usr/local/portage/gentoo-freebsd" |
109 |
+PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay" |
110 |
</pre> |
111 |
|
112 |
<p> |
113 |
@@ -226,30 +233,6 @@ |
114 |
</pre> |
115 |
|
116 |
<p> |
117 |
-After you have synchronised your Portage tree, you only have to take a few last |
118 |
-steps before your Gentoo/FreeBSD system is ready to use. |
119 |
-</p> |
120 |
- |
121 |
-<pre caption="Final configuration"> |
122 |
-<comment>(Prevent crt1.o from getting removed by emerging gcc.)</comment> |
123 |
-# <i>chflags schg /usr/lib/crt1.o</i> |
124 |
-<comment>(Update the binutils installed by the stage3 tarball.)</comment> |
125 |
-# <i>emerge -u binutils</i> |
126 |
-<comment>(Select the correct gcc.)</comment> |
127 |
-# <i>gcc-config 1</i> |
128 |
-# <i>source /etc/profile</i> |
129 |
-<comment>(Start the following script to fix a current bug in the stage3.)</comment> |
130 |
-# <i>/usr/local/portage/gentoo-freebsd/scripts/domove.sh</i> |
131 |
-<comment>(Re-emerge python, portage and py-freebsd.)</comment> |
132 |
-# <i>emerge --nodeps python portage py-freebsd</i> |
133 |
-</pre> |
134 |
- |
135 |
-<note> |
136 |
-After gcc-config you will notice a message about GCC-SPECS which you can safely |
137 |
-ignore. |
138 |
-</note> |
139 |
- |
140 |
-<p> |
141 |
Congratulations, by the time you have reached this step you should have a |
142 |
running Gentoo/FreeBSD system! If you want, you can now rebuild the system's |
143 |
core packages. |
144 |
@@ -422,12 +405,6 @@ |
145 |
that on our <uri link="http://bugs.gentoo.org/">bugzilla</uri>. Please |
146 |
remember to use the "Gentoo BSD" product for your submission. |
147 |
</li> |
148 |
- <li> |
149 |
- Some ebuilds have hardcoded -ldl flags to link against libdl to get |
150 |
- <c>dlopen()</c>. This needs to be fixed (for further information, please |
151 |
- consult our <uri link="/proj/en/gentoo-alt/bsd/maintnotes.xml#doc_chap3"> |
152 |
- our Gentoo/*BSD Technotes Guide</uri>. |
153 |
- </li> |
154 |
<li>glib and gnome in general need a lot of fixes to be backported.</li> |
155 |
</ul> |
156 |
|
157 |
|
158 |
|
159 |
|
160 |
-- |
161 |
gentoo-doc-cvs@g.o mailing list |