Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124080 - Kernel Upgrade Guide minor installation recommendation
Summary: Kernel Upgrade Guide minor installation recommendation
Status: RESOLVED WONTFIX
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/kernel-u...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-25 08:57 UTC by Chris White (RETIRED)
Modified: 2006-02-25 10:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris White (RETIRED) gentoo-dev 2006-02-25 08:57:23 UTC
In line 235 in the xml there is the following code:

<pre caption="Compiling and installing the new kernel">
# <i>make &amp;&amp; make modules_install</i>
# <i>mount /boot</i>
# <i>cp arch/i386/boot/bzImage /boot/bzImage-2.6.9-gentoo-r2</i>
</pre>

later kernels have a `make install` feature.  Unfortunately, some arches do not support this (my ppc box can't do a make install for example).  So something like this could be a bit more usefull:

<pre caption="Compiling and installing the new kernel">
# <i>make &amp;&amp; make modules_install</i>
# <i>mount /boot</i>
# <i>cp arch/i386/boot/bzImage /boot/bzImage-2.6.9-gentoo-r2</i>
</pre>

<note>
Some kernels support the <c>make install</c> target.  This will install a kernel image for you in <path>/boot</path> (it must be mounted however!).  It will tell you where the new kernel image is installed, and also where to place it in your bootloader config file. This reduces the above down to <c>mount /boot &amp;&amp; make &amp;&amp; make modules_install install</c>.
</note>
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2006-02-25 10:39:17 UTC
/sbin/installkernel (the script doing the actual work) copies System.map as well, which is not needed. Please ask sys-apps/debianutils' maintainer to fix that at first. And are you really really sure that saving one line of code is worth adding one paragraph of text?

WONTFIX for now.