What are .config parameters for my kernel?
Jonathan Ryshpan
jonrysh at pacbell.net
Thu Oct 29 22:58:31 UTC 2009
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
...
More information about the users
mailing list