<div dir="ltr">Yes the headers are there in the sources of 3.18.5 kernel.But then I have to change all the references to linux/<header_files.h> in my modules to the path of <kernel_source>/include/linux/<header_files.h>.This could be corrective action.I am looking for preventive action .<div><span style="font-size:13px">CONFIG_LOCALVERSION appends whatever name we want to append after the kernel version.</span></div><div>I was looking for downloading the kernel headers for the custom kernel I built whose name has been changed to 3.18.5-custom.</div><div>uname -r give => 3.18.5-custom. :( (cant use it sudo apt-get install linux-header-$(uname-r) :( </div><div><br><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">"..pain is temporary.....quitting lasts forever....."<div><a href="http://techshek4u.blogspot.in/" target="_blank"> My Blog</a>"</div></div></div>
<br><div class="gmail_quote">On Wed, Feb 11, 2015 at 11:37 PM, Arshad Hussain <span dir="ltr"><<a href="mailto:arshad.super@gmail.com" target="_blank">arshad.super@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="im HOEnZb"><br>
On 11-Feb-2015, at 11:18 pm, Vinícius Tinti <<a href="mailto:viniciustinti@gmail.com">viniciustinti@gmail.com</a>> wrote:<br>
<br>
</span><span class="im HOEnZb">> On Wed, Feb 11, 2015 at 3:42 PM, s.rawat <<a href="mailto:imsaurabhrawat@gmail.com">imsaurabhrawat@gmail.com</a>> wrote:<br>
>> Hello,<br>
>> I recently built the 3.18.5 kernel according to instruction on the<br>
>> linuxkernel newbie page .I used /sbin/installkernel script to install the<br>
>> modules and updated the grub.cnf.<br>
>> On a reboot i get option 3.18.5[b]-custom[/b] and booted in.But now since I<br>
>> am modifying the kernel and needed headers in /user/src for the same kernel<br>
<br>
</span><span class="im HOEnZb">Your headers for ‘-custom’ kernel will be under the folder where you have downloaded 3.18.5 kernel.<br>
<br>
<br>
</span><div class="HOEnZb"><div class="h5">>> name i am using i.e 3.18.5 , but uname-r gives 3.18.5[b]-custom[/b].I can<br>
>> still install headers with the name 3.18.5 and rename it to 3.18.5-custombut<br>
>> how is there any other way out to fix this.If I could replace "-custom" in<br>
>> all the places or do I have to do it manually - in grub, all all other<br>
>> places?I dont know how many places it has been reference as "-custom".<br>
>> I might have taken a wrong route i guess :S ! Have I??<br>
><br>
> Take a look at CONFIG_LOCALVERSION option.<br>
><br>
>> Rgds,S<br>
>><br>
>> _______________________________________________<br>
>> Kernelnewbies mailing list<br>
>> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
>> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Simplicity is the ultimate sophistication<br>
><br>
> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br>
</div></div></blockquote></div><br></div>