Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Recompiling kernel src rpm with config changes?



rpm -ivh kernel...src.rpm
edit your config
rpmbuild -ba /usr/src/redhat/SPECS/kernel.spec

-derek

Quoting John Abreau <jabr at blu.org>:

> I'm trying to rebuild a kernel on CentOS 4.3, and I get a bunch
> of errors when I try to use the kernel-devel rpm. Rebuilding
> the source rpm with
>
>    rpmbuild --rebuild kernel-2.6.9-34.0.1.EL.src.rpm
>
> works fine, but that builds it with the default .config.
>
> Is there a way to tell rpmbuild to use a different config file
> when rebuilding the kernel?  Is there any option other than
> building it all manually? The source rpm includes a lot of
> patches, and I basically want to keep everything the same except
> for the specific options I'm changing.
>
>
> --
> John Abreau / Executive Director, Boston Linux & Unix
> ICQ 28611923 / AIM abreauj / JABBER jabr at jabber.org / YAHOO abreauj
> Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
> PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org