<div dir="ltr">For an &quot;upstream&quot; kernel from <a href="http://kernel.org">kernel.org</a> (which is where Ubuntu ultimately is getting the kernels), there is a README in the sources that says,<div><br></div><div><div>   Alternatively, before compiling, use the kernel config option</div><div>   &quot;LOCALVERSION&quot; to append a unique suffix to the regular kernel version.</div><div>   LOCALVERSION can be set in the &quot;General Setup&quot; menu.</div></div><div><br></div><div>  <a href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/README#n287">https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/README#n287</a></div><div><br></div><div>... and if you do a &quot;make menuconfig&quot;, for example, and type in a value for the LOCALVERSION, then it does show up in the output of &quot;uname -r&quot;.  If you are want, you can even just edit the EXTRAVERSION value in the Makefile, adding your suffix there.</div><div><br></div><div>  <a href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Makefile">https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Makefile</a></div><div><br></div><div>I don&#39;t know how Ubuntu is building their kernel debs, but maybe now you can look and see.  If they take that value and use it as the LOCALVERSION, then you&#39;ve got your answer.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 2, 2016 at 5:12 PM, Todor Fassl <span dir="ltr">&lt;<a href="mailto:fassl.tod@gmail.com" target="_blank">fassl.tod@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I need to compile my own kernel with a patch for hardware speech. One thing I do not understand about building a kernel is how to get it to have a unique name so I can tell if a machine is using the custom kernel or the original one. The ubuntu documentation says this:<br>
<br>
&gt; In order to make your kernel &quot;newer&quot; than the stock Ubuntu kernel<br>
&gt; from which you are based you should add a local version modifier. Add<br>
&gt; something like &quot;+test1&quot; to the end of the first version number in the<br>
&gt; debian.master/changelog file, before building.<br>
The first line of debian.master/changelog looks like this:<br>
&gt; linux (4.2.0-30.36) wily; urgency=high<br>
<br>
I am guessing the instructions mean to make that say something like this:<br>
&gt; linux (4.2.0-30.36+test1) wily; urgency=high<br>
<br>
First of all, is that right? Second, is it possible for me to make it so if you say &quot;uname -r&quot;, instead of displaying 4.3.0-30-generic, it shows 4.3.0-30-speakup? I think that would be the most clear way to show that this is not a generic ubuntu kernel.<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org" target="_blank">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">  Ed Cashin &lt;<a href="mailto:ecashin@noserose.net" target="_blank">ecashin@noserose.net</a>&gt;</div></div>
</div>