public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Kasper Sandberg <lkml@metanurb.dk>
To: James Cloos <cloos@jhcloos.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: make kernelrelease ignoring LOCALVERSION_AUTO
Date: Sun, 20 Nov 2005 23:31:38 +0100	[thread overview]
Message-ID: <1132525898.15938.1.camel@localhost> (raw)
In-Reply-To: <m3acfz88qj.fsf@lugabout.cloos.reno.nv.us>

On Sun, 2005-11-20 at 13:39 -0500, James Cloos wrote:
> I use $(make kernelrelease) in my kernel install script to get the
> version string for the filenames in /boot and the grub menu items.
> 
> The partial hash string CONFIG_LOCALVERSION_AUTO=y adds is no longer
> showing up in the version kernelrelease echos, although it does show
> up in the version string used by $(make modules_install).
> 
> I even added an @echo $MODLIB to the kernelrelease rule and got only:
> 
> ,----
> | :; make kernelrelease
> | 2.6.15-rc2-lug2
> | /lib/modules/2.6.15-rc2-lug2
> `----
<snip>
i dont know anything about this, but if it is a bug, it should be fixed,
however, in the meantime, this might help you: (its what i do in my
kernel install script)
eval $(head -n 4 Makefile | sed -e 's/ //g')

then in bash you can do this:
FULLVER=${VERSION}.${PATCHLEVEL}.${SUBLEVEL}${EXTRAVERSION}

hope it might help
> 
> -JimC


  reply	other threads:[~2005-11-20 22:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-20 18:39 make kernelrelease ignoring LOCALVERSION_AUTO James Cloos
2005-11-20 22:31 ` Kasper Sandberg [this message]
2005-11-21  0:10   ` James Cloos
2005-11-21  0:30 ` James Cloos
2005-11-21 10:53   ` Uwe Zeisberger
2005-11-21 13:54     ` [PATCH] " Uwe Zeisberger
2005-11-21 22:10       ` James Cloos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1132525898.15938.1.camel@localhost \
    --to=lkml@metanurb.dk \
    --cc=cloos@jhcloos.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox