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 .
CONFIG_LOCALVERSION appends whatever name we want to append after the kernel version.
I was looking for downloading the kernel headers for the custom kernel I built whose name has been changed to 3.18.5-custom.
uname -r give => 3.18.5-custom. :( (cant use it sudo apt-get install linux-header-$(uname-r) :(
"..pain is temporary.....quitting lasts forever....."
On Wed, Feb 11, 2015 at 11:37 PM, Arshad Hussain <arshad.super@xxxxxxxxx> wrote:
On 11-Feb-2015, at 11:18 pm, Vinícius Tinti <viniciustinti@xxxxxxxxx> wrote:
> On Wed, Feb 11, 2015 at 3:42 PM, s.rawat <imsaurabhrawat@xxxxxxxxx> wrote:
>> Hello,
>> I recently built the 3.18.5 kernel according to instruction on the
>> linuxkernel newbie page .I used /sbin/installkernel script to install the
>> modules and updated the grub.cnf.
>> On a reboot i get option 3.18.5[b]-custom[/b] and booted in.But now since I
>> am modifying the kernel and needed headers in /user/src for the same kernel
Your headers for ‘-custom’ kernel will be under the folder where you have downloaded 3.18.5 kernel.
>> name i am using i.e 3.18.5 , but uname-r gives 3.18.5[b]-custom[/b].I can
>> still install headers with the name 3.18.5 and rename it to 3.18.5-custombut
>> how is there any other way out to fix this.If I could replace "-custom" in
>> all the places or do I have to do it manually - in grub, all all other
>> places?I dont know how many places it has been reference as "-custom".
>> I might have taken a wrong route i guess :S ! Have I??
>
> Take a look at CONFIG_LOCALVERSION option.
>
>> Rgds,S
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies@xxxxxxxxxxxxxxxxx
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
>
>
> --
> Simplicity is the ultimate sophistication
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies