Anyone know if there is a kernel autoconfigure tool to compile from source ? thanks luigi -- Linux Server, Microsoft Windows 2003/2008 Server, Exchange 2007 http://predellino.blogspot.com/
admin lewis wrote on 03/26/2012 05:45 PM:> Anyone know if there is a kernel autoconfigure tool to compile from source ? > thanksThat seems too good to be true, so it probably is. :) Have a look at http://wiki.centos.org/HowTos/Custom_Kernel Or perhaps http://elrepo.org/tiki/kernel-ml Someone else may already have done the heavy lifting. Phil
On 03/26/2012 04:45 PM, admin lewis wrote:> Anyone know if there is a kernel autoconfigure tool to compile from source ? > thanks > luigiWhat are you trying to accomplish. If you install the SRPM, the go the the SPEC directory, you can run the command: rpmbuild -bp kernel.spec Then you can go to the BUILD/<version>/ directory, copy the config file you want to modify there, and run the command: make menuconfig Then you can change whatever settings you want and go from there. Here is how to build a custom kernel: http://wiki.centos.org/HowTos/Custom_Kernel The real question is ... what are you trying to accomplish? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 262 bytes Desc: OpenPGP digital signature URL: <http://lists.centos.org/pipermail/centos/attachments/20120326/a1c6a2ac/attachment-0004.sig>
2012/3/27 Johnny Hughes <johnny at centos.org>:> On 03/26/2012 04:45 PM, admin lewis wrote: >> Anyone know if there is a kernel autoconfigure tool to compile from source ? >> thanks >> luigi > > What are you trying to accomplish. >Simply I want enable grsecurity. I downloaded vanilla kernel and grsecurity patch but I dont want reconfigure every kernel options.. because it's too long read and understand every feature of the kernel. Also I want disable all modules I dont need. Finally I dont want initrd. Thanks very much for any help luigi -- Linux Server, Microsoft Windows 2003/2008 Server, Exchange 2007 http://predellino.blogspot.com/