I have been following the wiki on how to build a custom kernel, and it works great. Except, I am doing ongoing work with the internals of the kernel, and it is really awkward to set up a change and then build it using the standard methodology (edit the file to change, diff it against the original to make a patch file, rebuild the whole thing). Isn't there a way (and what is it) to play around with the kernel source files until they are in the shape I want them to be in, and THEN go through the whole build process again. Thanks. Mark Hull-Richter, Linux Kernel Engineer DATAllegro (www.datallegro.com) 85 Enterprise, Second Floor, Aliso Viejo, CA 92656 949-680-3082 - Office 949-330-7691 - fax -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070415/f136ee1f/attachment-0004.html>
Mark Hull-Richter wrote:> I have been following the wiki on how to build a custom kernel, and it > works > great. > > Except, I am doing ongoing work with the internals of the kernel, and it is > really awkward to set up a change and then build it using the standard > methodology (edit the file to change, diff it against the original to > make a > patch file, rebuild the whole thing). > > Isn't there a way (and what is it) to play around with the kernel source > files until they are in the shape I want them to be in, and THEN go through > the whole build process again. > > Thanks.Probably, you should be on lkml - the Linux kernel mailing list. _I_ would just do my editing in the source tree (and I'd not normally use a vendor's source tree) and regularly do "make && make install" etc then copy to my test system if it's not my build system. There is no need, or even point, to create rpms for each dumb mistake. If at all possible, you should be testing first in uml, xen or other virtual environment. -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list
Luciano Miguel Ferreira Rocha
2007-Apr-16 09:58 UTC
[CentOS] Looking for a better way to build
On Sun, Apr 15, 2007 at 03:26:00PM -0700, Mark Hull-Richter wrote:> I have been following the wiki on how to build a custom kernel, and it works > great. > > Except, I am doing ongoing work with the internals of the kernel, and it is > really awkward to set up a change and then build it using the standard > methodology (edit the file to change, diff it against the original to make a > patch file, rebuild the whole thing). > > Isn't there a way (and what is it) to play around with the kernel source > files until they are in the shape I want them to be in, and THEN go through > the whole build process again.make kernel, on the kernel sources creates rpm files. -- lfr 0/0 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070416/10774cff/attachment-0004.sig>