00:00
629
More
See all Show me
1. HOWTO - apply a Linux kernel patch to the stable tree
2 years ago
This is a screencast of the steps involved in applying a patch to the Linux -stable kernel series.

It shows the scripts and tools used (quilt, git, mutt, and others) and how it all works together.

Credits

Likes

See all likes
  • :)) Thanks a lot Greg, yes it was fun!!! Now is it possible to have that for every kernel maintainer ;) event from Linus :)
  •  
  • Gwenole Le bris 2 years ago
    This was fun and very instructive and like you said it lacks sound, maybe a jamendo tune next time ;) ?
  • Greg KH 2 years ago
    It's nicer if you can just pick your own music to play while watching it, that way you know you will enjoy it :)
  •  
  • Jesse DeFer 2 years ago
    Very informative and interesting!
  •  
  • Sankar P 2 years ago
    Very informative.

    On a sidenote, I liked your bash prompt coloring scheme ($PS1) , can you give the bashrc command that you have for it ?
  • Greg KH 2 years ago
    PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] '
  • Sankar P 2 years ago
    Thank you a lot. I am loving it.
  •  
  • Peter Hellberg 2 years ago
    Thanks for the video
  •  
  • Greg SACRE 2 years ago
    Really interesting to see how it is done :-)

    Thanks a lot!
  •  
  • xl0 2 years ago
    Hi. Did you try stgit? It adds all the quilty stuff on top of git, so you don't have to import/export the patches into quilt just to able to toss them around more freely.

    Or is there an other reason for using quilt?
  • Greg KH 2 years ago
    Last I looked stgit isn't as fast as quilt, has that changed?

    Also, it is easier to share stuff as a quilt tree, than a stgit tree, although, again, that might have changed since I last looked.

    And, stgit also used to not handle patches in mbox format very easily, again, that might have changed.

    Either way, I would have to import the patches into a stgit tree, to handle them this way, right?
  • xl0 2 years ago
    Not really. You just create a branch in your normal git tree, and run 'stg init' on it. Then you run 'stg pick' on the interesting commits from the upstream branch. As i understand it, patches need already be upstream to get into the stable tree, right?

    From the git's point of view, the stgit-ed branch looks exactly like any other one, and the stgit patches in it are in fact git commits. So after you are done, you can push it to a public git repo, so no import/export is ever needed.

    Not sure about if it got faster, but I've never had any problems with its speed, but then, I've never worked on queues longer than a few tens commits.
  •  
  • paulf 2 years ago
    Thank you very much for the video. Always wanted to see how you guys (I mean top-level lieutenants) operate... It's really impressive. The only thing is missing: Could you please share those 'little bash scripts' (probably upload them to kernel.org in your personal directory there)? Just for completeness, of course if you don't mind and have a spare minute...
  • Greg KH 2 years ago
    The scripts are all in the stable-queue git tree on git.kernel.org that I use for applying patches and sending email notifications.

    Other scripts that I use for applying patches for development stuff are already in my gregkh directory on kernel.org.
  •  
  • Ozan Caglayan 2 years ago
    Hey that was really informative. Some little questions:

    How does ketchup helps in this process?
    I'm not familiar at all with git's mbox facilities but isn't there a way to automatically generate patches from stable@ list using git?

    Thanks a lot!
  •  
  • Lukas Grässlin 1 year ago
    Very interesting! Thanks alot for this video. I didn't know quilt which is very cool until I saw this video.

    Is there a special reason you use mutt or for no reason?

    Regards,
    Lukas
  •  
  • John Silverman 1 year ago
    Great video, thanks for posting!
  •  
This conversation is missing your voice. Take five seconds to join Vimeo or log in.

Advertisement

About this video

MP4
00:10:29
  • 640x448, 14.62MB
  • Uploaded Tue December 15, 2009
  • Please join or log in to download

Statistics

Date Plays Comments
Totals 9,996 14 17
Feb 14th 1 0 0
Feb 13th 0 0 0
Feb 12th 0 0 0
Feb 11th 3 0 0
Feb 10th 2 0 0
Feb 9th 0 0 0
Feb 8th 0 0 0

Related lessons from Vimeo Video School

Check out these lessons to learn more about how you can make videos like this one!