public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml bootstrap-macos.xml
@ 2007-09-12  7:33 Fabian Groffen (grobian)
  0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2007-09-12  7:33 UTC (permalink / raw
  To: gentoo-commits

grobian     07/09/12 07:33:24

  Modified:             bootstrap-linux.xml bootstrap-macos.xml
  Log:
  Finish up linux guide, typos

Revision  Changes    Path
1.7                  xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.6&r2=1.7

Index: bootstrap-linux.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- bootstrap-linux.xml	10 Sep 2007 07:20:59 -0000	1.6
+++ bootstrap-linux.xml	12 Sep 2007 07:33:23 -0000	1.7
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.6 2007/09/10 07:20:59 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.7 2007/09/12 07:33:23 grobian Exp $ -->
 
 <guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en">
   <title>Gentoo Prefixed Portage Bootstrap Process for Linux</title>
@@ -19,8 +19,8 @@
   <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
   <license/>
 
-  <version>1.0</version>
-  <date>2007-09-07</date>
+  <version>1.1</version>
+  <date>2007-09-11</date>
 
   <chapter>
     <title>Bootstrapping on Linux</title>
@@ -32,7 +32,7 @@
           Bootstrapping on Linux gets simpler with the freshness of the
           Linux distribution.  An old linux distribution requires more
           bootstrapping.  Because the huge variety of Linux
-          distributions, this guide can only considered to be a mere
+          distributions, this document can only considered to be a mere
           guideline; the actual bootstrap process might require some
           additional steps based on what goes wrong.  When problems
           occur, please search and post to the <c>gentoo-alt</c> mailing
@@ -86,13 +86,16 @@
         <pre caption="Use the bootstrap script">
 $ <i>chmod 755 bootstrap-prefix.sh</i>
 $ <i>./bootstrap-prefix.sh $EPREFIX tree</i>
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp wget</i>
 $ <i>./bootstrap-prefix.sh $EPREFIX/tmp python</i>
 $ <i>./bootstrap-prefix.sh $EPREFIX portage</i>
         </pre>
-        <note>Please note that <c>python</c> is installed in
+        <note>Please note that <c>python</c> and <c>wget</c> installed in
           <path>$EPREFIX/tmp</path>!  You can skip bootstrapping
           python if you already have a working Python 2.4 or better in
-          your path.</note>
+          your path.  The same holds for a recent version of wget, but
+          since it's a small package you are adviced to bootstrap it
+          just in case.</note>
         <p>
           The script will setup the <path>$EPREFIX</path>
           directory, download a portage tree snapshot, unpack it and
@@ -101,14 +104,12 @@
           for a successful bootstrap:
         </p>
         <pre caption="Setup ld directions">
-$ <i>export LDFLAGS="-L${EPREFIX}/usr/lib -Wl,-rpath=${EPREFIX}/usr/lib -L${EPREFIX}/lib -Wl,-rpath=${EPREFIX}/lib"</i>
+$ <i>export LDFLAGS="-L${EPREFIX}/usr/lib{64,} -Wl,-rpath=${EPREFIX}/usr/lib{64,} -L${EPREFIX}/lib{64,} -Wl,-rpath=${EPREFIX}/lib{64,}"</i>
 $ <i>export CPPFLAGS="-I${EPREFIX}/usr/include"</i>
         </pre>
-        <note>If you are on a 64-bits Linux system, such as an AMD64
-          system, you have to replace <c>lib</c> by <c>lib64</c>.</note>
         <p>
-          Because we installed some new applications, we will instruct
-          bash to reconsider all paths we have:
+          In case you bootstrapped python, or any other application, you
+          have to instruct bash to reconsider all paths it has:
         </p>
         <pre caption="rehash in bash">
 $ <i>hash -r</i>
@@ -177,14 +178,16 @@
         </pre>
         <p>
           Finally we emerge <c>python</c>, <c>findutils</c> and
-          <c>tar</c> in our prefix.  These are the last packages that we
-          temporarily installed to bootstrap our system.
+          <c>tar</c> in our prefix.  These are the last packages that
+          <c>portage</c> uses internally.
         </p>
         <pre caption="emerge python">
 $ <i>emerge --oneshot --nodeps python</i>
 $ <i>emerge --oneshot --nodeps findutils</i>
 $ <i>emerge --oneshot --nodeps tar</i>
         </pre>
+        <note>If you feel above tools are up-to-date enough on your
+          system, you may try skipping their installation here.</note>
         <p>
           Before we continue to emerge all ebuilds from <c>system</c>,
           we first install <c>portage</c>.  We need to overwrite the
@@ -197,7 +200,7 @@
 $ <i>env FEATURES="-collision-protect" emerge --oneshot --nodeps portage</i>
         </pre>
         <p>
-          Next, we get GNU <c>awk</c>, as most ebuild expect this
+          Next, we get GNU <c>awk</c>, as most ebuilds expect this
           <c>awk</c> when they use it.
         </p>
         <pre caption="emerge gawk">
@@ -216,7 +219,7 @@
           Now we're about to start the big work, we remove the temporary
           directory and its use as we got it all in our prefix now.  You
           may have not used this directory if you didn't bootstrap
-          python.
+          python and wget.
         </p>
         <pre caption="remove tmp directory">
 $ <i>rm -Rf $EPREFIX/tmp/*</i>



1.14                 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?r1=1.13&r2=1.14

Index: bootstrap-macos.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- bootstrap-macos.xml	7 Sep 2007 18:30:26 -0000	1.13
+++ bootstrap-macos.xml	12 Sep 2007 07:33:23 -0000	1.14
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v 1.13 2007/09/07 18:30:26 grobian Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v 1.14 2007/09/12 07:33:23 grobian Exp $ -->
 
 <guide link="/proj/en/gentoo-alt/prefix/bootstrap-macos.xml" lang="en">
   <title>Gentoo Prefixed Portage Bootstrap Process for Mac OS X</title>
@@ -210,7 +210,7 @@
 $ <i>env FEATURES="-collision-protect" emerge --oneshot --nodeps portage</i>
         </pre>
         <p>
-          Next, we get GNU <c>awk</c>, as most ebuild expect this
+          Next, we get GNU <c>awk</c>, as most ebuilds expect this
           <c>awk</c> when they use it.
         </p>
         <pre caption="emerge gawk">



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-12  7:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-12  7:33 [gentoo-commits] gentoo commit in xml/htdocs/proj/en/gentoo-alt/prefix: bootstrap-linux.xml bootstrap-macos.xml Fabian Groffen (grobian)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox