How to find 4.15.0-45-generic soure file

Asked by Zhang Yanle

I would like only compile some new modules will out update kernel. So I need to find the soure of 4.15.0-45-generic.

I git clone and checkout tag "Ubuntu-hwe-4.15.0-45.48_16.04.1", but it show "4.15.18", when run "make kernelversion".
What's wrong? How can I get the correct soruce file for 4.15.0-45-generic.

It will be great, if someone can help.
Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu linux-signed-hwe Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

1. The kernel version 4.15.0-45-generic is outdated and has already been replaced by 4.15.0-46-generic

2. You can download the source files with the command "apt source 4.15.0-45-generic" (or "apt source 4.15.0-46-generic" for the current one), if you have activated the "source" repositories in your package management configuration, see e.g. https://askubuntu.com/a/158872

Can you help with this problem?

Provide an answer of your own, or ask Zhang Yanle for more information if necessary.

To post a message you must log in.