nightmorph 09/11/30 19:00:28 Modified: hb-install-x86+amd64-kernel.xml Log: use smarter conditionals to reduce some duplication. thanks to chiguire for the suggestion on bug 273354
Revision Changes Path 1.31 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml?rev=1.31&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml?rev=1.31&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml?r1=1.30&r2=1.31 Index: hb-install-x86+amd64-kernel.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- hb-install-x86+amd64-kernel.xml 30 Nov 2009 08:58:46 -0000 1.30 +++ hb-install-x86+amd64-kernel.xml 30 Nov 2009 19:00:28 -0000 1.31 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v 1.30 2009/11/30 08:58:46 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-kernel.xml,v 1.31 2009/11/30 19:00:28 nightmorph Exp $ --> <sections> @@ -13,7 +13,7 @@ explains how to configure your kernel. </abstract> -<version>7.2</version> +<version>7.3</version> <date>2009-11-30</date> <section> @@ -360,33 +360,19 @@ # <i>emerge genkernel</i> </pre> -</body> -<body test="func:keyval('arch')='x86'"> - <p> Next, copy over the kernel configuration used by the Installation CD to the location where genkernel looks for the default kernel configuration: </p> -<pre caption="Copying over the Installation CD kernel config"> +<pre test="func:keyval('arch')='x86'" caption="Copying over the Installation CD kernel config"> # <i>zcat /proc/config.gz > /usr/share/genkernel/arch/x86/kernel-config</i> </pre> -</body> -<body test="func:keyval('arch')='AMD64'"> - -<p> -Next, copy over the kernel configuration used by the Installation CD to the -location where genkernel looks for the default kernel configuration: -</p> - -<pre caption="Copying over the Installation CD kernel config"> +<pre test="func:keyval('arch')='AMD64'" caption="Copying over the Installation CD kernel config"> # <i>zcat /proc/config.gz > /usr/share/genkernel/arch/x86_64/kernel-config</i> </pre> -</body> -<body> - <p> Now, compile your kernel sources by running <c>genkernel all</c>. Be aware though, as <c>genkernel</c> compiles a kernel that supports almost all