On Sun, 17 Apr 2011, Ben Hutchings wrote:
On Sun, 2011-04-17 at 16:51 +0100, Ben Hutchings wrote:On Sun, 2011-04-17 at 20:42 +0530, Faheem Mitha wrote:Hi, Compilation of 2.6.26 Debian sources from lenny on squeeze fails with the following below. The only change I made was to set CONFIG_SYSFS_DEPRECATED_V2=n. See patch below. The command I used was fakeroot make KDEB_PKGVERSION=custom.1.0 -f debian/rules.gen binary-arch_i386_none_686-bigmem Am I missing something obvious? Please CC me on any reply. I'm not subscribed. Thanks in advance.[...] KDEB_PKGVERSION has no effect. You need to change the ABI version in debian/config/defines.
I'm just trying to change the name of the package (from the default of linux-image-2.6.26-2-686-bigmem to presumably something like linux-image-2.6.26.custom.1.0-2-686-bigmem) so that it does not replace my currently installed 2.6.26 version, and I can distinguish it from the stock Debian kernels. I was attempting to follow Section 4.5 in http://kernel-handbook.alioth.debian.org/ch-common-tasks.html.
It doesn't look like a good fit with the other instructions in 4.2.4, but I tried to mix them together.
I don't see how to alter debian/config/defines to do this. To be honest, I don't even know what this file is for.
and you'll need to run 'debian/rules debian/control-real' after that. Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse.