Hi manoj > make-kpkg clean removes ./debian, so there is no need to add > ./debian/changelog to the file_to_clean variable. What we need to > discover is why did make-kpkg clean not remove ./debian? > > Indeed, you seem to indicate that make-kpkg did: > exec make -f /usr/share/kernel-package/ruleset/minimal.mk clean > But minimal.mk is only invoked if there is no proper ./debian > directory in place. So, please do this: start with a clean kernel > source tree. Call make-kpkg clean. Or, call make-kpkg <foo> to get > your source tree in whatever state it was in before you called > make-kpkg clean; and send me a log of the whole thing, using > /usr/bin/script.
I am assuming it was a transient error. Tested with this specific patch reverted, worked fine. The following is the current diff against the released tree. Sorry about the noise.
Only in kernel-package-10.020-cleanrevert/: .ilist diff -ur kernel-package-10.020-orig/debian/changelog kernel-package-10.020-cleanrevert/debian/changelog --- kernel-package-10.020-orig/debian/changelog 2005-12-20 11:14:02.000000000 +0900 +++ kernel-package-10.020-cleanrevert/debian/changelog 2005-12-22 08:24:49.000000000 +0900 @@ -1,3 +1,9 @@ +kernel-package (10.020.1) unstable; urgency=low + + * 344335 + + -- Junichi Uekawa <[EMAIL PROTECTED]> Thu, 22 Dec 2005 08:08:43 +0900 + kernel-package (10.020) unstable; urgency=low * Fix issues with conf.vars. Make build.arch also depend on conf.vars. Only in kernel-package-10.020-cleanrevert/debian: files Only in kernel-package-10.020-cleanrevert/debian: tmp diff -ur kernel-package-10.020-orig/kernel/ruleset/misc/defaults.mk kernel-package-10.020-cleanrevert/kernel/ruleset/misc/defaults.mk --- kernel-package-10.020-orig/kernel/ruleset/misc/defaults.mk 2005-11-04 15:02:42.000000000 +0900 +++ kernel-package-10.020-cleanrevert/kernel/ruleset/misc/defaults.mk 2005-12-22 08:19:13.000000000 +0900 @@ -128,7 +128,11 @@ CROSS_ARG:=CROSS_COMPILE=$(KERNEL_CROSS) endif -KERNEL_ARCH:=$(architecture) +ifeq ($(architecture), amd64) + KERNEL_ARCH:=x86_64 +else + KERNEL_ARCH:=$(architecture) +endif DEBCONFIG = $(CONFDIR)/config IMAGEDIR=/boot @@ -148,7 +152,13 @@ INT_STEM := $(DEB_HOST_ARCH_OS) endif - +.PHONY: unit-test-defaults.mk +unit-test-defaults.mk: + # run the following commands to unit-test this file: + # eval ` dpkg-architecture -s ` + # make -f kernel/ruleset/misc/defaults.mk unit-test-defaults.mk + echo architecture:$(architecture), KERNEL_ARCH:$(KERNEL_ARCH) + #Local variables: #mode: makefile #End: Only in kernel-package-10.020-cleanrevert/: stamp-binary Only in kernel-package-10.020-cleanrevert/: stamp-binary-arch Only in kernel-package-10.020-cleanrevert/: stamp-binary-indep Only in kernel-package-10.020-cleanrevert/: stamp-build Only in kernel-package-10.020-cleanrevert/: stamp-build-arch Only in kernel-package-10.020-cleanrevert/: stamp-build-indep Only in kernel-package-10.020-cleanrevert/: stamp-indep-bin Only in kernel-package-10.020-cleanrevert/: stamp-indep-build Only in kernel-package-10.020-cleanrevert/: stamp-indep-conf Only in kernel-package-10.020-cleanrevert/: stamp-indep-inst
regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project