Fetching Rawhide Kernel builds using koji

To fetch rawhide kernels from Koji (Fedora build system), this is what I do:

Install the group “RPM Development Tools” to get koji packages

$ yum groupinstall "RPM Development Tools" 

NOTE: If you’re using versions < Fedora 19, please do: yum groupinstall "Development Tools"

Find the latest kernel in Rawhide

$ koji latest-pkg rawhide kernel                                                                      
Build                                     Tag                   Built by
----------------------------------------  --------------------  ----------------
kernel-3.10.0-0.rc0.git26.1.fc20          f20                   jwboyer

Download the resultant kernel from the o/p of the above command.

$ koji download-build \
  --arch=x86_64 kernel-3.10.0-0.rc0.git23.1.fc20 

Finally, install it

$ yum localinstall *.rpm 
Advertisements

4 Comments

Filed under Uncategorized

4 responses to “Fetching Rawhide Kernel builds using koji

  1. You can also use the Rawhide kernel nodebug repo, if you only want nodebug kernels:

    http://fedoraproject.org/wiki/RawhideKernelNodebug

  2. sean darcy

    On Fc 17:

    yum groupinstall “RPM Development Tools”
    Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit,
    : remove-with-leaves, rpm-warm-cache
    fedora/17/x86_64/metalink | 20 kB 00:00
    updates/17/x86_64/metalink | 17 kB 00:00
    updates | 4.4 kB 00:00
    updates/primary_db | 8.1 MB 00:19
    Warning: Group RPM Development Tools does not exist.
    No packages in any requested group available to install or update

    • I should have noted that yum groupinstall “RPM Development Tools” is only for Fedora 19 and above.

      If you’re using versions < Fedora 19, please do:

      $ yum groupinstall "Development Tools"
      

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s