How to generate linux-tools and linux-cloud-tools packages for customized kernel by using Ubuntu build scripts?

Tried to add do_tools=true which generates


but did not generate the base package the above one needs


So still cannot install.


The build target you're looking for is binary-perarch:

$ fakeroot debian/rules binary-headers binary-generic binary-perarch skipmodule=true

Somewhat related links:


Simply execute

fakeroot debian/rules binary

This will create all of the debs, including tools, cloud-tools, lowlatency kernel, etc. It doesn't take much longer, and prevents headaches.

  • That does work if you use Ubuntu sources. However, how to build linux-tools starting from linux vanilla git repo? – Mikko Rantalainen Sep 11 '18 at 6:54

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.