Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm modifying the Ubuntu Kernel and I've noticed: Whenever I install Kernel updates from the main repos initramfs and grub are updated automatically. However, in compiled kernels these steps are completed outside of the install of the newly created kernel.

I'm loosely following the directions from: Ubuntu KerenelTeam Wiki: Git Kernel Building

How can I produce the same effect for my version of the kernel packages? Would this require a third package that depends on the image/header produced which then runs the final setup scripts?

share|improve this question
Have you user kernel-package to build the kernel? – enzotib Jul 30 '11 at 17:41
Can you show the exact make-kpkg command line you're using, and the output you obtain during installation of the generated package? – enzotib Jul 30 '11 at 21:29
up vote 2 down vote accepted

I recommend using what is documented in instead of the make-kpkg way. This way you'll actually build the package exactly the same way it is built in the archive.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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