All of lore.kernel.org
 help / color / mirror / Atom feed
From: nayobix@nayobix.org (Boyan Vladinov)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Append Localversion to Kernel String
Date: Sun, 20 Nov 2016 09:27:49 -0800	[thread overview]
Message-ID: <5831DD15.2020508@nayobix.org> (raw)
In-Reply-To: <CAJ1xhMVWvY=aKYQ6KtL7rX6AFQ5c-NhScXRp68dR=a+rQX-a-g@mail.gmail.com>

Hi Marco,

Wasn't this an eudyptula challenge task?

Thanks!
b.

On 6.10.2016 10:01, Alexander Kapshuk wrote:
> On Thu, Oct 6, 2016 at 12:26 PM, Marco Gross <mgross@stephan-gmbh.com> wrote:
>> Hello folks,
>>
>>
>>
>> I?m trying to automatically append version information to my kernel?s version string.
>>
>> Therefore, I have in my .config following option:
>>
>>
>>
>> CONFIG_LOCALVERSION_AUTO=y
>>
>>
>>
>> Additionally, following is set:
>>
>>
>>
>> CONFIG_LOCALVERSION=?++?
>>
>>
>>
>> The output that is expected is said to be the first eight characters of the output of ?git rev-parse --verify HEAD?.
>>
>> The output in my kernel directory is:
>>
>>
>>
>> $ git rev-parse --verify HEAD
>>
>> c8d2bc9bc39ebea8437fd974fdbc21847bb897a3
>>
>>
>>
>> After installing the kernel the name of the kernel is as follows:
>>
>>
>>
>> vmlinuz-4.8.0++
>>
>>
>>
>> I expected:
>>
>>
>>
>> vmlinuz-4.8.0++-gc8d2bc9b
>>
>>
>>
>> My question: Where is the version string that I expected?
>>
>>
>>
>> Marco
>>
>>
>>
>> Mit freundlichen Gr??en / Best regards
>>
>> Marco Gross
>>
>> Diplomand
>>
>>
>>
>>
>>
>> Fritz Stephan GmbH
>>
>> -  Medizintechnik -
>>
>> Kirchstra?e 19, D-56412 Gackenbach
>>
>>
>>
>> Tel.: +49 6439 9125-249
>>
>> Fax: +49 6439 9125-111
>>
>> E-Mail: mgross at stephan-gmbh.com
>>
>> Web: www.stephan-gmbh.com
>>
>>
>>
>> Handelsregister Amtsgericht Montabaur HR-Nr. 4241
>>
>> Gesch?ftsf?hrer: Tanja Stephan, Georg Mainusch
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
> The '+' character is appended when the contents of your git repository
> have been modified, but not committed.
>
> You want to either commit the changes you have made, and rebuild the
> kernel, or undo the changes to restore the original state of the tree.
>
> Hope this helps.
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

      reply	other threads:[~2016-11-20 17:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-06  9:26 Append Localversion to Kernel String Marco Gross
2016-10-06 17:01 ` Alexander Kapshuk
2016-11-20 17:27   ` Boyan Vladinov [this message]

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=5831DD15.2020508@nayobix.org \
    --to=nayobix@nayobix.org \
    --cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.