Local kernels
LC_ALL=C debian/rules debian/control md5sum --check debian/control.md5sum --status || \ /usr/bin/make -f debian/rules debian/control-real make[1]: Entering directory `/home/wouter/debian/other-peoples-source/linux-2.6-2.6.32' chmod +x debian/bin/gencontrol.py debian/bin/gencontrol.py Traceback (most recent call last): File "debian/bin/gencontrol.py", line 331, in Gencontrol()() File "debian/bin/gencontrol.py", line 14, in __init__ self.process_changelog() File "debian/bin/gencontrol.py", line 305, in process_changelog (distribution, version)) RuntimeError: Can't upload to unstable with a version of 2.6.32-8~local1 make[1]: *** [debian/control-real] Error 1 make[1]: Leaving directory `/home/wouter/debian/other-peoples-source/linux-2.6-2.6.32' make: *** [debian/control] Error 2
The issue at hand was that I'd created a version of '2.6.32-8~local1', to document that I'd locally branched version 2.6.32-7 with that one config option turned on, but that my version should not be deemed larger than 2.6.32-8 (signalled by the ~ and whatever follows that). However, something somewhere in the Debian kernel build system (I was unable to figure out what, exactly) disliked that version number and told me I could not upload to unstable with that version. So it borked, and told me I had to fix my version.
Well, no, I don't want to do that. Instead, I wanted to disable that check somehow. Turns out that isn't too hard; gencontrol.py not only checks the version number, it also checks the target distribution. So if you don't want to upload to unstable, you just need to tell the tool that:
-linux-2.6 (2.6.32-8~local1) unstable; urgency=low +linux-2.6 (2.6.32-8~local1) local; urgency=low
Simple, but you'd need to know.