exact kernel sources
Wim Torfs
wim.torfs at uantwerpen.be
Wed Sep 14 07:07:21 UTC 2016
On 2016-09-14 08:09, Stefan Bader wrote:
> On 13.09.2016 14:45, Wim Torfs wrote:
>> Dear maintainers,
>>
>> I have been asked to modify some kernel modules of a specific kernel, installed
>> default with Ubuntu 14.04.2, that is, 3.13.0-33-generic.
>>
>> If I download the kernel through apt-get source 3.13.0-33-generic, then the
>> kernel release is 3.13.11-ckt39, not as one would expect 3.13.0-33-generic.
>
> You are getting confused by the Makefile version (which shows what upstream
> stable version is the base for the kernel) and the package version.
> The package version for the source package is found in the changelog file which
> (also slightly different to normal Debian packaging) is located in debian.master.
> The version in the changelog will be 3.13.0-x.y wjere x is the abi number (for
> example 33) and y is the upload number which you see as #y in uname -a.
>
> https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel should have more info.
>
> -Stefan
Thanks Stefan,
That makes more sense to me than what I have found so far. But if I need
to compile a kernel module for the 3.13.0-33-generic kernel image, then
I assume I have to change the Makefile version, such as EXTRAVERSION,
etc? Because if I use the config file, found in /boot, then I end up
with a kernel version (uname -a) equal to the upstream stable version
which is the base for this kernel.
I was expecting that the Ubuntu kernel sources would generate the exact
same kernel image (including the kernel version) as can be found in one
of the images.
Wim.
>
>>
>> Could you please help me getting the exact same kernel source, used for building
>> the linux-image-3.13.0-33-generic package by means of the config file, located
>> in the /boot section.
>>
>> Thanks,
>>
>> Kind regards,
>> Wim Torfs.
>>
>
>
More information about the Ubuntu-devel-discuss
mailing list