Where I can get source code of v5.0.0-23 or the latest release of v5.0.0
Yinbo.Wang at microchip.com
Yinbo.Wang at microchip.com
Thu Jan 23 00:40:23 UTC 2020
Hi,
I am currently running Ubuntu 18.04.3, with kernel version v5.0.0-23 shipped with the package. I need the relevant kernel source code for my development.
I found and downloaded the diff for 5.0.0-23 from https://launchpad.net/ubuntu/+source/linux-hwe/5.0.0-23.24~18.04.1 but its SUBLEVEL (which is 15) in Makefile indicates it will be built as v5.0.15 not v5.0.0-23. I am very confused here, could you explain?
If I use "apt source" command as below, I always get 5.3.0 package, which is not what I want, how can I fix it?
$ apt-get source linux-image-5.0.0-23-generic
Reading package lists... Done
Picking 'linux-signed-hwe' as source package instead of 'linux-image-5.0.0-23-generic'
Need to get 13.7 kB of source archives.
Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/main linux-signed-hwe 5.3.0-26.28~18.04.1 (dsc) [1,862 B]
Get:2 http://us.archive.ubuntu.com/ubuntu bionic-updates/main linux-signed-hwe 5.3.0-26.28~18.04.1 (tar) [11.8 kB]
Fetched 13.7 kB in 0s (42.7 kB/s)
dpkg-source: info: extracting linux-signed-hwe in linux-signed-hwe-5.3.0
dpkg-source: info: unpacking linux-signed-hwe_5.3.0-26.28~18.04.1.tar.xz
As the result, how can I get source code of v5.0.0-23 or the latest kernel source code release for v5.0.0 for Ubuntu?
Thank you so much in advance for your help!
Thanks,
-Yinbo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20200123/fd907b7d/attachment-0001.html>
More information about the kernel-team
mailing list