When I got to the point where it has you run make-kpkg itself, where it suggests the following command:
# fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image
And states that you can put whatever you want in place of "custom" and that the "1.0" bit marks revisions, etc, I attempted to follow its example and was met with this:
dmorrison@shodan:~/Downloads/linux-4.0.1$ fakeroot make-kpkg --initrd --revision=shodan.1.0 kernel_image
Error: The revision string may only contain
alphanumerics and the characters ~ + .
If epochs are used, the colon : is also allowed
The current value is: shodan.1.0
Which is rather confusing, since it basically says "your string can only contain such and such characters, it contains... exactly those characters we said it could contain. Aborting"
I tried various versions of the revision string, from shodan.1, shodan1, shodan1.0, etc, until I finally hit upon a winning combination: 1.0shodan
It seems it will only accept a revision that starts with a number. This contradicts the documentation and is not mentioned anywhere in the error message.
If I'm doing something else wrong sobeit but this seems a tad broken to me.
Potentially relevant information:
Linux shodan 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3~deb8u1 (2015-04-24) x86_64 GNU/Linux
5/1/2015 from stable netinst image.
kernel attempting to compile:
If there's any other information you consider relevant please let me know. Thanks.