On Friday, March 08, 2013 11:16:30, Allen wrote:
> In the process of solving a recent F18 problem it was suggested to me that
> I examine the grub2 source code. A standard way of obtaining the source
> code for Fedora packages is to download the srpm. yumdownloader can be
> used for this. I recently happened upon the Fedora Package Database and
> noticed it offers access to source code.
> 
> Fedora 18 uses grub2 v2.00 (current install is grub2-2.00-15.fc18.i686).
> Viewing the Fedora package database entry for grub2
> http://pkgs.fedoraproject.org/cgit/grub2.git/ (the portion labelled
> "download") I don't see anything more recent than grub2 version 1.98 for
> Fedora 14. Does anyone have any ideas why there is nothing there more
> recent?

If you clone the Git repo you've listed above, it contains only patches, not 
the grub2 source code.  I suspect that this is a repository for patches that 
are meant to be put against the upstream Grub2 source code:

   https://www.gnu.org/software/grub/grub-download.html

A little further searching for source packages for Fedora 18 led to this:

   http://koji.fedoraproject.org/koji/buildinfo?buildID=374015

However I think I've found something even better.  You can download the source 
RPM via this command:

  'yumdownloader --source grub2'

Hopefully you'll know what to do from there.

> The Fedora Project documentation relating to package maintenance talks
> about using "fedpkg" to access packages in git. It seems to me that the
> Fedora Package database would be the most convenient way for an end-user
> (non- maintainer) to view (without intent to modify) Fedora package source
> code if it worked the way I'm assuming it should.

If it's anything like /Debian/ packaing with Git, not much will work like you 
expect it to.

  -- Chris

--
Chris Knadle
[email protected]
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm)                         Vassar College
  Feb 6 - Raspberry Pi
  Mar 6 - 10th Anniversary Meeting - Linux where you least expect it
  Apr 3 - Typography: Physical Art to Digital Art

Reply via email to