Fedora kernel rpmbuild query

Shraddha Kamat sh2008ka at gmail.com
Wed Dec 26 03:05:47 EST 2012


Hi List,

I do the following on Fedora kernel src rpm :
(1) rpm -ivh kernel-xxx.rpm
(2) Go to ~/rpmbuild/SPECS dir
(2) rpmbuild -bp kernel.specs --nodeps 

then in the ~/rpmbuild/BUILD/ dir I get kernel-xxx dir 
where in there are two source dir - 
(1) linux-xxx           <-------- A
(2) vanilla-xxx         <-------- B

Why are these two dir created - How do I use the configuration file 
/boot/config-xxx to build vmlinuz and initrd image ?

Which dir A or B sould I use for building ?


-- Shraddha 




More information about the Kernelnewbies mailing list