From: "Toralf Förster" <toralf.foerster@gmx.de>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: UML devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] RFC: Shouldn't "./linux --version" always print the the git commit id
Date: Fri, 25 Oct 2013 23:19:13 +0200 [thread overview]
Message-ID: <526AE051.5020809@gmx.de> (raw)
In-Reply-To: <CAMuHMdX+GtHDB5r6-oXyehbemqS36rVE=Agpi0w-6TcCPQotZQ@mail.gmail.com>
On 10/25/2013 10:18 PM, Geert Uytterhoeven wrote:
> Hi Toralf,
>
> On Fri, Oct 25, 2013 at 10:11 PM, Toralf Förster <toralf.foerster@gmx.de> wrote:
>> Just realized today the fact, that v3.11 reports just the tag and not
>> "tag-g<commit id>"
>
> You don't have CONFIG_LOCALVERSION_AUTO=y in your .config?
>
> Gr{oetje,eeting}s,
>
I do :
tfoerste@n22 ~/devel/linux $ ./linux --showconfig | grep AUTO
CONFIG_LOCALVERSION_AUTO=y
pls look here :
$ ./linux --version
3.11.0-00001-g65984ff-dirty
versus
$ git checkout HEAD~1
Previous HEAD position was 65984ff... um: hostfs: Fix writeback
HEAD is now at 6e46645... Linux 3.11
$ make -j4 ARCH=um CC="ccache gcc"
...
$ ./linux --version
3.11.0
which correlates to
$ git describe
v3.11
$ git describe --long
v3.11-0-g6e46645
> Geert
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds
>
--
MfG/Sincerely
Toralf Förster
pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3
next prev parent reply other threads:[~2013-10-25 21:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-25 20:11 [uml-devel] RFC: Shouldn't "./linux --version" always print the the git commit id Toralf Förster
2013-10-25 20:18 ` Geert Uytterhoeven
2013-10-25 21:19 ` Toralf Förster [this message]
2013-10-26 7:56 ` Geert Uytterhoeven
2013-10-26 10:06 ` Toralf Förster
2013-11-06 13:31 ` Michal Marek
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=526AE051.5020809@gmx.de \
--to=toralf.foerster@gmx.de \
--cc=geert@linux-m68k.org \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/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