help? how to build my own kernel-header rpm package ? - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    hongqian Guest

    help? how to build my own kernel-header rpm package ?

    I download a new kernel code and build it by myself.

    I want to know how to build a kernel-header rpm that I can use on other computers and not
    need to take the bigger kernel code.


  2. #2
    Join Date
    Dec 2006
    0 Post(s)
    0 Thread(s)
    Hmm, I'm not really sure myself. You'd have to comb through your kernel sources and find where they are located.

    However, methinks you would be better off to use the kernel and kernel-devel files that come with fedora. No messy compiling required!

  3. #3
    hongqian Guest

    But for some reason , I have to build it by myself.

  4. #4
    Join Date
    Oct 2004
    London, UK
    0 Post(s)
    0 Thread(s)
    You mean kernel-devel headers right? (The ones required for building kernel modules against the kernel)

    You can generate that by using rpmbuild to build the kernel, it requires a little configuring, see here

    the actual build command is
    rpmbuild -bb --with baseonly --without debuginfo --target=`uname -m` kernel.spec
    that'll give you a kernel rpm and kernel-devel rpm package

  5. #5
    hongqian Guest
    Thanks ,sideaways.

Similar Threads

  1. build-essential package
    By leorex in forum Using Fedora
    Replies: 7
    Last Post: 28th April 2011, 05:42 AM
  2. No available header and build files for kernel
    By Mshawabkeh in forum Using Fedora
    Replies: 2
    Last Post: 15th March 2009, 06:31 PM
  3. ATI ver8.5 Can't build package fot X550(F9)?
    By thinkdeeply in forum Hardware
    Replies: 3
    Last Post: 22nd May 2008, 07:40 PM
  4. How to build binary package of KDE on Fedora
    By dt2prin in forum Installation, Upgrades and Live Media
    Replies: 7
    Last Post: 24th January 2007, 09:48 AM
  5. Replies: 2
    Last Post: 1st August 2006, 10:39 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts