Hi,

the problem is that the kernel-package does not deal with the new
header structure due to the x86 architecture merge in 2.6.24
it applies to kernel-package 10.x

cheers
tobi


-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
http://it.oetiker.ch [EMAIL PROTECTED] ++41 62 213 9902
--- /usr/share/kernel-package/ruleset/targets/headers.mk	2006-11-06 05:14:55.000000000 +0100
+++ ruleset/targets/headers.mk	2008-02-20 17:26:35.000000000 +0100
@@ -77,6 +77,15 @@
 	test ! -e arch/$(KERNEL_ARCH)/Makefile.cpu ||                             \
                                 $(install_file) arch/$(KERNEL_ARCH)/Makefile.cpu  \
                                                      $(SRCDIR)/arch/$(KERNEL_ARCH)
+	test ! -e arch/$(KERNEL_ARCH)/Makefile_32 ||                             \
+                                $(install_file) arch/$(KERNEL_ARCH)/Makefile_32  \
+                                                     $(SRCDIR)/arch/$(KERNEL_ARCH)
+	test ! -e arch/$(KERNEL_ARCH)/Makefile_32.cpu ||                          \
+                                $(install_file) arch/$(KERNEL_ARCH)/Makefile_32.cpu  \
+                                                     $(SRCDIR)/arch/$(KERNEL_ARCH)
+	test ! -e arch/$(KERNEL_ARCH)/Makefile_64 ||                             \
+                                $(install_file) arch/$(KERNEL_ARCH)/Makefile_64  \
+                                                     $(SRCDIR)/arch/$(KERNEL_ARCH)
 	test ! -e Rules.make     || $(install_file) Rules.make     $(SRCDIR)
 	test ! -e Module.symvers || $(install_file) Module.symvers $(SRCDIR)
   ifneq ($(strip $(int_follow_symlinks_in_src)),)
--- /usr/share/kernel-package/pkg/headers/postinst	2006-11-06 05:14:53.000000000 +0100
+++ pkg/headers/postinst	2008-02-20 17:30:55.000000000 +0100
@@ -78,6 +78,7 @@
 $architecture = "parisc" if $architecture eq "hppa";
 $architecture = "mips" if $architecture eq "mipsel";
 $architecture = "x86_64" if $architecture eq "amd64";
+$architecture = "x86" if ($architecture eq "amd64" or $architecture eq "i386") and -d "/usr/src/$package_name/include/asm-x86";
 
 my $stop_and_read     = 0;
 my $src_postinst_hook = '';

Reply via email to