Bug 194752 - genkernel --kernel-config man page error
Bug#: 194752 Product:  Gentoo Hosted Projects Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: genkernel@gentoo.org Reported By: tommyblue@lilik.it
Component: genkernel
URL: 
Summary: genkernel --kernel-config man page error
Keywords:  
Status Whiteboard: 
Opened: 2007-10-04 22:42 0000
Description:   Opened: 2007-10-04 22:42 0000
Hi, from genkernel man page:

--kernel-config=<file>
              This specifies a kernel configuration file to use for
compilation; by default .config in the kernel source tree is used.

but if the kernel was still correctly compilated with genkernel (most of the
times), the config file used is /etc/kernels/kernel-config-[version] and not
.config in the kernel source tree as we can see launching "genkernel all". In
my case:

* config: Using config from
/etc/kernels/kernel-config-x86-2.6.22-gentoo-r8-mactel


Reproducible: Always

------- Comment #1 From Andrew Gaffney 2007-12-27 22:40:03 0000 -------
I've applied the following patch in SVN:

--- genkernel.8 (revision 574)
+++ genkernel.8 (working copy)
@@ -140,7 +140,8 @@
 .TP
 \fB\-\-kernel\-config=\fR<file>
 This specifies a kernel configuration file to use for compilation; by
-default .config in the kernel source tree is used.
+default genkernel uses the config from the previous build of the same kernel
+version or a default kernel config if there isn't a previous config.
 .PP
 .BR Low-Level \ Compilation \ Options
 .TP

------- Comment #2 From Chris Gianelloni (RETIRED) 2008-01-12 00:51:16 0000 -------
This should be resolved in genkernel 3.4.9, which will be hitting the tree
shortly.  If this is still an issue with that version, please REOPEN this bug
(or comment, if you cannot REOPEN it).