Re: Make kernel -dirty naming optional

From: Erik Mouw
Date: Sun Sep 24 2006 - 06:12:59 EST

On Sun, Sep 24, 2006 at 11:07:43AM +0200, Sam Ravnborg wrote:
> On Fri, Sep 22, 2006 at 12:49:34PM +0200, Erik Mouw wrote:
> > FWIW, if I enable git name tagging, every kernel I compile is tagged as
> > "dirty", even if I cloned it directly from and didn't make
> > any change to the source. That makes the "dirty" tag useless IMHO.
> make mrproper
> make allmodconfig
> make prepare
> make kernelrelease
> 2.6.18-ga5fa393b
> make prepare
> make kernelrelease
> 2.6.18-ga5fa393b-dirty
> So it wrks for me.
> Can you provice a few more details what steps you do when you see it failing.

make mrproper
cp ../config-2.6 .config
yes no | make oldconfig
fakeroot make targz-pkg
Tarball successfully created in /home/erik/git/linux-2.6/linux-2.6.18-g4f5537de-dirty.tar.gz

(I use fakeroot in order to make sure that all files in the tarball are
root.root. Otherwise I would have to chown /lib/modules or modprobe
would complain.)


PS: I'm on holiday for a week, so don't expect an immediate reply.

+-- Erik Mouw -- -- +31 70 370 12 90 --
| Lab address: Delftechpark 26, 2628 XH, Delft, The Netherlands
| Data lost? Stay calm and contact
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at