[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Release Notes - kernel

If your wanting to build the kerel from RPM sources you don't rally need to do this.  Alexander Dalloz was kind enough to explain it to me in this thread: 'Re: patching FC3 kernel' check the archives.  The jist of it is that after installing the source kernel (which gets installed to /usr/src/redhat/SOURCES), you copy your patches into the same folder and modify the kernel-2.6.spec file which lives here /usr/src/redhat/SPECS.  After this is done you just do a  rpmbuild -ba --target=i686 kernel-2.6.spec and your kernel rpm is build ans put in /usr/src/redhat/RPMS/i686.  Then just do a normal rpm kernal install (and grub is automatically updated too).

Alexander was kind enough to show how to add new configuration setting to the config files.  I'm not sure how this whole method would work if you were wanting to use xconfig or something to modify the config file.

Jeff Birt

-----Original Message-----
From: fedora-list-bounces redhat com on behalf of Mercury Morris
Sent: Sun 4/17/2005 2:47 PM
To: Fedora Discussion
Subject: Release Notes - kernel
In the kernel section of the Release Notes, step 4 (quoted below), 
tells where to place the file called .config, by copying the desired
file into a directory.  I am unable to tell from step 4, exactly WHICH
directory the .config file is supposed to end up in.

For example, if I was working with the source for a 2.6.9 kernel,
should the .config file be in


I'm sorry to be so dense about this, especially if the answer
turns out to be extremely obvious.  Also, I'm sorry I didn't
save an old Red Hat 7.x system on which I built many
kernels, so I would have something to use as a reference.

Thanks for any help.

------- Step 4 of the kernel section -------

4.  In resulting tree, the configurations for the specific kernels
shipped in Fedora Core 3 are in the      /configs/ directory.  For
example, the i686 SMP configuration file is named   
/configs/kernel-<version>-i686-smp.config.  Issue the following
command to place the desired  configuration file in the proper place
for building:

 cp <desired-file> ./.config


fedora-list mailing list
fedora-list redhat com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]