Hi
I think the problem is partially within the kernel's realm as well.
make-kpkg uses "include/config/kernel.release" which already includes the
trailing 'plus' sign - from what I've read this is if you use an "official"
git tree with extra patches.
The attached quick & dirty hack patches the make snippet to use eliminate this
- however this is only for one of the cases and possibly a real fix should
ensure that all possibilities are considered.
Interestingly,
====== making target debian/stamp/conf/minimal_debian [new prereqs: ]======
works fine, while
====== making target debian/stamp/conf/full-changelog [new prereqs: ]======
fails.
HTH
Carsten
--- /usr/share/kernel-package/ruleset/misc/version_vars.mk 2009-12-22 23:14:54.000000000 +0100
+++ version_vars.mk 2012-01-02 14:55:29.000000000 +0100
@@ -179,14 +179,13 @@
endif
endif
KERNELRELEASE = $(strip $(call doit,if [ -f include/config/kernel.release ]; then \
- cat include/config/kernel.release 2> /dev/null;\
+ echo $(shell sed 's/+$$//' include/config/kernel.release 2>/dev/null ); \
elif [ -f .kernelrelease ]; then \
cat .kernelrelease 2> /dev/null ; \
else \
echo "$(version)"; \
fi;))
-
# See if we are being run in the kernel directory
ifeq ($(DEB_HOST_ARCH_OS), linux)
define check_kernel_dir