Where do rcX-gitY patches come from?

Josh Boyer jwboyer at fedoraproject.org
Fri Mar 28 22:02:43 UTC 2014


On Fri, Mar 28, 2014 at 5:37 PM, Josh Stone <jistone at redhat.com> wrote:
> I know there used to be a linux-2.6-snaps.git tree that had rcX-gitY
> tags, but I haven't seen that in a while, I think since the kernel.org
> rebuild.  Yet rawhide still uses patches of this form.  Is there a git
> tree where these are maintained?

Yes.  Linus Torvald's git tree.  ;)

More verbosely, we have a script in the kernel package called
"scripts/generate-git-snapshot.sh" that takes an environment variable
which points to a local git checkout of Linus' tree.  It then
generates the git snapshots based on whatever is present in the tree
after the current -rcX tag.

So whenever I do a new bump, I update my local tree copy immediately
with 'git pull', use the script, and upload the resulting patch with
fedpkg.  Then I do a local test build of the Fedora kernel package and
try it out on a few machines.  Assuming it works, the changes are
committed and pushed and an official build is kicked off.

The local upstream git tree checkout is kept pristine on the master
branch.  There are no additional patches committed to it, ever.  Those
go in as patches in the spec file if needed.

josh


More information about the kernel mailing list