1

I'm trying to pull kernel sources from this location:

http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/

And I'm expecting to see 4.4.0-21/22 related sources.

What I'm getting is 4.4.8 version code. Is something configured wrong?

  • 1
    Where are you getting the wrong version? Do you build a kernel from there? How do you build it? – Pilot6 Jun 2 '16 at 6:23
  • I'm first pulling sources directly from the Ubuntu git repository. So my build only uses what is downloaded. The build results show that a kernel with version 4.4.8 is produced. Plus the Makefile shows an internal version of 4.4.8. The Git repository indicates the 4.4.0 sources are stored. A clear difference that I see. – tgibson2016 Jun 3 '16 at 15:07
0

You probably build the kernel not a Debian way. This way you are getting a mainline kernel version.

You need to build the kernel by

fakeroot debian/rules binary-headers binary-generic

This way you will get Ubuntu versions.

  • I'm first pulling sources directly from the Ubuntu git repository. So my build only uses what is downloaded. The build results show that a kernel with version 4.4.8 is produced. Plus the Makefile shows an internal version of 4.4.8. The Git repository indicates the 4.4.0 sources are stored. A clear difference that I see. – tgibson2016 Jun 3 '16 at 15:07
  • If you build using debian/rules, you will get the correct Ubuntu version. – Pilot6 Jun 3 '16 at 16:12

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.