Custom kernel RPM/SRPM

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



Hi,

  I've built customs kernels from the SRPMs with the following:

   rpmbuild -bp --target=i686 /path/to/spec
   cd /usr/src
   ln -s /usr/src/redhat/BUILD/kernel-x.y.z/linux-x.y.z linux
   cd linux
   make oldconfig
   make menuconfig
   make all
   make modules
   make modules_install

  And it works just fine. The problem now is that I think installing 
that way isn't "cool": I wan to build my own custom kernel RPM/SRPM.

  I thought about doing a "rpmbuild -bp" and change the options. Then a 
"rpmbuild -bc --short-circuit" and a "rpmbuild -bi --short-circuit".

  What's the correct way of doing this?

Thanks in advance,

-- 
Giovanni P. Tirloni
http://blog.tirloni.org


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux