neysx       05/06/04 11:02:03

  Modified:    xml/htdocs/doc/en kernel-upgrade.xml
  Log:
  #94957 #3 Mention symlink USE flag

Revision  Changes    Path
1.8       +19 -9     xml/htdocs/doc/en/kernel-upgrade.xml

file : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/kernel-upgrade.xml?rev=1.8&content-type=text/x-cvsweb-markup&cvsroot=gentoo
plain: 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/kernel-upgrade.xml?rev=1.8&content-type=text/plain&cvsroot=gentoo
diff : 
http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/kernel-upgrade.xml.diff?r1=1.7&r2=1.8&cvsroot=gentoo

Index: kernel-upgrade.xml
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- kernel-upgrade.xml  25 May 2005 17:17:27 -0000      1.7
+++ kernel-upgrade.xml  4 Jun 2005 11:02:03 -0000       1.8
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v 1.7 
2005/05/25 17:17:27 swift Exp $ -->
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/kernel-upgrade.xml,v 1.8 
2005/06/04 11:02:03 neysx Exp $ -->
 
 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
 <guide link="/doc/en/kernel-upgrade.xml">
@@ -17,8 +17,8 @@
 <!-- See http://creativecommons.org/licenses/by-sa/2.0 -->
 <license/>
 
-<version>0.1.5</version>
-<date>2005-05-25</date>
+<version>0.1.6</version>
+<date>2005-06-04</date>
 
 <chapter>
 <title>Introduction</title>
@@ -119,17 +119,27 @@
 <body>
 
 <p>
-Gentoo requires you to maintain a symbolic link, located at 
-<path>/usr/src/linux</path>. This should point to the sources of the 
-kernel you are running.
+Gentoo requires that the <path>/usr/src/linux</path> symbolic link points to
+the sources of the kernel you are running.
 </p>
 
 <p>
-In any case, we need to update the symbolic link to point at the kernel
-sources that we are about to upgrade to. Continuing our example:
+Portage can update the symlink automatically when you emerge new kernel
+sources. All you have to do is add the <c>symlink</c> flag to the USE variable
+in <path>/etc/make.conf</path>.
 </p>
 
-<pre caption="Updating the /usr/src/linux softlink">
+<pre caption="Example of USE variable in /etc/make.conf">
+<comment>(Add the symlink keyword)</comment>
+USE="<i>symlink</i> x86 3dnow 3dnowex X aac aalib adns alsa apache2"
+</pre>
+
+<p>
+If you really want to do it yourself, the following example shows you how to
+make the link point to <path>linux-2.6.9-gentoo-r2</path>:
+</p>
+
+<pre caption="Updating the /usr/src/linux softlink manually">
 # <i>cd /usr/src</i>
 # <i>ln -sfn linux-2.6.9-gentoo-r2 linux</i>
 </pre>



-- 
[email protected] mailing list

Reply via email to