Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When building a patched kernel from Ubuntu kernel git repositories how do I change the version numbers so that the resulting kernel package has the following properties:

  1. Installs files in /boot/ which are named differently than the current official kernel on which it is based, and thus do not conflict.
  2. Appears "newer" than the current official kernel on which it is based, so it is automatically selected at boot time.
  3. Appears older than the next official kernel release, so that it will be replaced when there is a kernel update.
share|improve this question

1 Answer 1

Package versions come from the most recent changelog entry. So add a changelog entry, with dch -i. The best way to ensure the version will be lower than the next official upload, is to just append something to the end of the previous version, like +local1.

share|improve this answer
    
Does not work. The kernel.git does not include a debian/changelog so "dch -i" fails. –  Alistair Buxton May 13 '13 at 14:48

Your Answer

 
discard

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.