Hi, On Sun, Oct 18, 2009 at 10:21:00PM +0200, maximilian attems wrote: > On Sun, Oct 18, 2009 at 09:53:58PM +0200, Marc Haber wrote: > > append a string to the version number and a debian revision. > > if you set KDEB_PKGVERSION you can set both, the debian revision > is controled by .version.
I actually mean the upstream version, not the actual version of the resulting Debian package. When one uses make-kpkg --append=-foo --revision=2.6.31.4.20091013.0, one gets, for example, a linux-image-2.6.31.4-foo_2.6.31.4.20091013.0_i386.deb of a kernel which actually returns 2.6.31.4-foo as answer to uname -r. This is important if one wants to have different kernel flavours including their own module directory. The equivalent to --revision is KDEB_PKGVERSION, but I haven't yet found a way to emulate --append, since this probably needs modification to the upstream version number ending up in include/linux/utsrelease.h. Is there a variable for this as well, or is the official way to do so parsing EXTRAVERSION from the top-level Makefile and make all EXTRAVERSION=$EXTRAVERSION-foo? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org