Re: Configuring the Kernel

From: Aaron Gaudio (prothonotar_at_tarnation.dyndns.org)
Date: 03/27/05

  • Next message: Dotan Cohen: "Re: Redhat.fedora site Not Noobie Friendly!"
    To: David Hoffman <dhoffman2004@gmail.com>, For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Sun, 27 Mar 2005 00:25:45 -0500
    
    

    On Sat, 2005-03-26 at 22:56 -0600, David Hoffman wrote:

    > If your question pertains to re-compiling the kernel so you can add or
    > remove support for other options, or compile modules that can be
    > dynamically loaded instead of statically loaded, then you can
    > certainly find a HOWTO about compiling kernels at the Linux
    > Documentation Project: www.tldp.org

    With the caveat that if you want to recompile a Fedora kernel (with all
    the extra patches they add to the vanilla kernel), you'll have to
    install the kernel srpm and use that. Easiest would be to install the
    srpm then 'rpmbuild -bp kernel-2.6.spec' then go to
    <rpmbuilddir>/kernel-2.6.11/linux-2.6.11 and reconfig/rebuild from there
    (following the directions from a HOWTO). This is the procedure suggested
    in the Fedora Core 3 release notes.

    IMO, it's better if you roll an actual rpm out of it. It'll take a
    little longer, but when you're done, your modified kernel will be
    tracked along with the rest of your software. If all you're doing is
    reconfiguring, you can modify the appropriate config source file before
    doing a full rpm rebuild (-ba), if you want to add patches you'll need
    to modify the spec file. The spec file is written to automatically
    append your username to the rpms that result so they don't conflict with
    the default kernel rpm.

    -- 
    Aaron Gaudio <prothonotar@tarnation.dyndns.org>
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Dotan Cohen: "Re: Redhat.fedora site Not Noobie Friendly!"

    Relevant Pages

    • Re: Tried to run 2.6.0-test1
      ... Not being an rpm expert, I tried "rpm --rebuild" on it. ... I need to specify that the cpu is ... Two gzipped tarballs and one spec file. ... but I guess modutils shouldn't be expected to guess which kernel ...
      (Linux-Kernel)
    • Re: Building a kernel-source RPM (not a kernel RPM)?
      ... Linus kernel - 2.6.21.7 specifically, and it needs kernel source too so ... then there must be a .spec file somewhere which just wants to be ... I may just stick them in a bash script and forget about the RPM. ...
      (Linux-Kernel)
    • Re: FC5: touble building nvidia-kmod from livna
      ... They don't have the module .rpm for the ... You need to install the kernel developer files for your kernel. ... Might have to change some more options in the spec file. ...
      (Fedora)
    • Re: Patching a fedora stock kernel howto!
      ... after that alter the spec file and hook in the patch into the spec ... build a new rpm from the spec file with rpmbuild and there ya ... > instructions for patch a stock fedora kernel source and then recompile ...
      (Fedora)
    • [PATCH 1/2] kbuil: add deb-pkg target
      ... # To prepare kbuild for more kernel packaging formats move all packaging ... # In top-level Makefile introduce generic support for all package ... Included the old rpm target for backward ... # and builddeb scripts. ...
      (Linux-Kernel)