What are .config parameters for my kernel?

Rick Stevens ricks at nerd.com
Thu Oct 29 23:11:15 UTC 2009


Jonathan Ryshpan wrote:
> On Thu, 2009-10-29 at 15:17 -0700, Rick Stevens wrote:
>> The kernel source RPM ("kernel-whatever.src.rpm" package) does not
>> contain a ".config" file.  You must create one by copying one of the
>> other "config-*" files in the RPM or via the "make menuconfig" or "make
>> xconfig" operations and saving the resulting configuration.
> 
> It looks like:
>         $ cd ~/rpmbuild
>         $ rpmbuild -bp SPECS/kernel.spec
> generates a .configure file in the tree under BUILD -- There are both
> a .configure and a .configure.old there.  Here is what I find:
>         $ ll -At ~/rpmbuild/BUILD/kernel-2.6.30/linux-2.6.30.x86_64
>         total 952
>         drwxr-xr-x. 83 jonrysh jonrysh  12288 Oct 27 20:25 Documentation/
>         drwxr-xr-x.  2 jonrysh jonrysh   4096 Oct 27 20:25 mm/
>         -rw-r--r--.  1 jonrysh jonrysh  95272 Oct 27 20:25 .config
>         drwxr-xr-x.  2 jonrysh jonrysh   4096 Oct 27 20:25 block/
>         drwxr-xr-x.  2 jonrysh jonrysh   4096 Oct 27 20:25 configs/
>         drwxr-xr-x.  2 jonrysh jonrysh   4096 Oct 27 20:25 init/
>         drwxr-xr-x.  6 jonrysh jonrysh   4096 Oct 27 20:25 kernel/
>         drwxr-xr-x. 22 jonrysh jonrysh   4096 Oct 27 20:25 include/
>         -rw-r--r--.  1 jonrysh jonrysh 148470 Oct 27 20:25 MAINTAINERS
>         drwxr-xr-x.  7 jonrysh jonrysh   4096 Oct 27 20:25 security/
>         drwxr-xr-x. 70 jonrysh jonrysh   4096 Oct 27 20:25 fs/
>         drwxr-xr-x.  6 jonrysh jonrysh   4096 Oct 27 20:25 lib/
>         -rw-r--r--.  1 jonrysh jonrysh  55238 Oct 27 20:25 Makefile
>         -rw-r--r--.  1 jonrysh jonrysh 109487 Oct 27 20:25 .config.old
>         -rw-r--r--.  1 jonrysh jonrysh   1782 Oct 27 20:25 config-arm
>         -rw-r--r--.  1 jonrysh jonrysh    974 Oct 27 20:25 config-debug
>         -rw-r--r--.  1 jonrysh jonrysh  86400 Oct 27 20:25 config-generic
>         -rw-r--r--.  1 jonrysh jonrysh    122 Oct 27 20:25 config-i586
>         -rw-r--r--.  1 jonrysh jonrysh     95 Oct 27 20:25 config-i686-PAE
>         ...

That's entirely possible.  What I was trying to say is that there is
no ".configure" file in the RPM, proper.  It's created by an rpmbuild,
or one of the various "make" operations (make xconfig, make menuconfig,
make oldconfig, etc.) done after the source RPM is installed.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-         The world is coming to an end ... SAVE YOUR FILES!!!       -
----------------------------------------------------------------------




More information about the fedora-list mailing list