git-lkml for stupid people (like me)

Posted on August 16th, 2007 by Christian in Gentoo

OK, as Stephen recently asked why there is a double inclusion of in kernel/sysctl.c (and I asked Greg and Randy); I finally decided to write a patch to the LKML for possible inclusion.

But, git ain’t easy for people like me (who are used to the easiness of say - subversion or even cvs). So here’s what I did (thanks to Fernando for the help earlier today):

$ vim kernel/sysctl.c
// change something
$ git checkout -b sysctl
// create a new branch from your changes, based upon the master repository
$ git commit -a -s
// commit the changes to your newly created branch
$ git format-patch master..sysctl
// Enter a subject and then a separate description
// and you should have a new file in the current working directory starting like 0001-*.patch

Now you should have a mailable patch, ready to be sent upstream that looks like this:

From 839ce261cf688d62bebd9ae3a0101dd672018940 Mon Sep 17 00:00:00 2001
From: Christian Heim <phreak@gentoo.org>
Date: Sun, 19 Aug 2007 12:51:52 +0200
Subject: [PATCH] Remove double inclusion of linux/capability.h
 
Remove the second inclusion of linux/capability.h, which has been introduced
with "[PATCH] move capable() to capability.h" (or commit c59ede7b78db329949d9cdcd7064e22d357560ef).
 
Signed-off-by: Christian Heim <phreak@gentoo.org>
---
 kernel/sysctl.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
 
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 8bdb8c0..9029690 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -27,7 +27,6 @@
 #include <linux/capability.h>
 #include <linux/ctype.h>
 #include <linux/utsname.h>
-#include <linux/capability.h>
 #include <linux/smp_lock.h>
 #include <linux/fs.h>
 #include <linux/init.h>
 
--
1.5.3.rc4

And if you wanna delete the branch afterwards again, just do this:

$ git checkout master
// Switch back to the master branch
$ git branch -D sysctl
// Delete the old branch named "sysctl"

continued #gentoo-dev fun

Posted on November 4th, 2006 by Christian in Gentoo, Life

OK, today I finally took the steps of adding Hans (that’s Hans de Graaf), and just after I kicked him from #gentoo-dev so he gets his +o and suddenly Astinus took over .. but see for yourself :D

(15:28) < @Astinus> graaff:  So graaff, what'd they con^H^H^persuade you into doing?
(15:29) < @phreak``> Astinus: xemacs ;)
(15:29) < @Astinus> phreak``:  hah!
(15:31) < @graaff> Astinus: yes, xemacs, and when all of that is in order I'll see if I can help out
with ruby and/or gnome
(15:32) < @Astinus> graaff:  to the former, good luck ;) to the latter, are you suicidal? :P
(15:32) < @phreak``> Astinus: actually it seem like he is :D
(15:32) < @Astinus> phreak``:  Excellent, I see you went through the recruiting checklist thoroughly
(15:32) < @phreak``> Astinus: lol
(15:32)  * graaff thinks better than to engage in a troll-fest about gnome on his first day
(15:32) < @Astinus> (a) Should be suicidal to a degree less than ciaranm
(15:32) < @Astinus> (b) should have a passion for Gentoo, but not the stalking developer kind
(15:33) < @Astinus> graaff:  :P
(15:33) < @Astinus> graaff:  *bait*

#gentoo-dev fun

Posted on October 31st, 2006 by Christian in Gentoo, Life

O boy, have I had a wonderful evening. I was watching We were heroes (after the eponymous book “We were heroes … and young“), while I took a peak at #gentoo-dev and look what I found:

(19:24) < @Flameeyes> will be masked, resistance is futile
(19:24) < @nixnut> hehe
(19:24) < @phreak``> lol
(19:24) < @phreak``> Flameeyes: you're definitely watching waaay to much star trek (including Borg involvement :P)
(19:24) < @jakub> *plop*
(19:25) < @Flameeyes> phreak``, watching voyager right now :P
...
(19:25) < +bonsaikitten> phreak``, how do you know that Diego is not a borg?
(19:25) < @Flameeyes> bonsaikitten, I'd like to be one
(19:25) < +bonsaikitten> who has met him? who has seen him sleep, eat or do anything else besides commiting stuff?
(19:26) < @phreak``> bonsaikitten: a human couldn't take all that crap happening to him ;)
(19:26)  * phreak`` runs
...
(19:26) < +bonsaikitten> Flameeyes, let me guess, suppress emotions, optimize language, work work work?
(19:26) < @grobian> what?  Flameeyes is human?  I thought he was one of vapiers scripts...

Mood sucks

Posted on August 3rd, 2006 by Christian in Life

christel, you remember the mood-swings we were talking about ?

I think I’m undergoing just another :( I’m currently pretty much pissed. Basically everything is pestering me currently (except #gentoo-dev and Gentoo work).

Work just ripped another piece of me (hah, thanks VMware & BigBlue). I started the day with a ice cold shower (if I’m talking about ice cold it was ice cold), they’re currently replacing our old gas heating and unfortunately that means no warm water at all! *arg*


Braindead

Posted on August 3rd, 2006 by Christian in Life

Ok, I know I’ve been absent the last 2 or 3 days (but only in the evening). I know Seemant :P and I’m pretty sorry for that.
As some of you may know, I recently aquired a Linksys WRT54GL to replace my stupid, crappy Netgear WG602 (which, sorry for the words, is completly junk right now).

I managed to flash an dd-wrt image to it, right the first day I got it. But a recent update made it broke and now I’m completly unable to reflash the device (as in bricked).

And I’m about as lazy on the evening as hardworking on the day. So I ordered another one just yesterday. It should arrive today (hopefully) so that I get the damned wireless back.

The other thing currently is, that work is getting pretty stressing. Everyone (of my co-workers, mostly the young ones) is pestering me with his/her problems (and my main problem being, that I can’t ignore that, because I care pretty much for most of them). Plus provisioning is on my tail because of some damned provisioning processes.

Gentoo-wise I’ve recently come to know some of the #gentoo-dev people (yeah, thats you Chris and Christel) along with kloeri, kingtaco (heya :P), fox2mike and not to forget Joshua. I really think they are pretty amazing from a people POV :)
Another thing I wanted to say: thank you Diego for the work you did with kde-3.5.4 (especially the prerelease thing)
I’m looking forward to September, who knows maybe I’ll meet one of the two in Munich (along with some other people).

Ok, I’m now finished with my morning tea (some nice green mate tea) and will now start eating my pudding :P (white chocolate and normal chocolate with cream).

P.S.: christel, I really liked that poem, thanks a lot :)
P.P.S: Chris, lol :) nice visual-ascii-faces :) I’ve not yet had the time to take a look (as in hear) your “songs” ..

P.P.P.S: tsunam, I hope you excuse me for not blogging about my puzzle yet, I promise its the first thing I’ll do on the weekend


Chris (the White variety)

Posted on July 30th, 2006 by Christian in Gentoo, Life

Hrm, I think I tortured christel a bit too much, earlier ..

(16:53) < @phreak ``> here we go :P http://gallery.barfoo.org/main.php/v/mini-me/DSCN0739.JPG.html?g2_imageViewsIndex=1
(16:57) < @christel> LOL
(16:58) < @christel> the first one made me laugh so much

Actually Chris, I think that was your and Diego’s comment(s) in combination with esammer (thanks for the decent laughing flash I had btw :-o )

(22:33) < @phreak``> night everyone :P
(22:33) < @ChrisWhite> phreak``: what's that?
(22:33) < @ChrisWhite> phreak``: you thought you were going to get sleep?
(22:33) < @esammer> ChrisWhite: as well as well formed sentences and punctuation. well said.
(22:33) < @ChrisWhite> phreak``: sorry pal, this is Gentoo, you're a developer
(22:33) < @ChrisWhite> phreak``: we don't let you sleep
(22:33) < @ChrisWhite> phreak``: you're over your sleep rations
(22:33) < @phreak``> ChrisWhite: yeah, again .. need to get up 2 hours before sunrise (thats in 5 hours to be exact)
(22:34) < @Flameeyes> phreak``, what happens to sunrise in 2 hours?
(22:34) < @ChrisWhite> phreak``: what if it's cloudy?
(22:34) < @ChrisWhite> phreak``: or what if the sun dies out?

Me, singing