A patch, which works for me
OldKid
diff -U 3 -H -d -r -N -- kernel-package-11.001/kernel/pkg/headers/postinst kernel-package-11.001-fix/kernel/pkg/headers/postinst
--- kernel-package-11.001/kernel/pkg/headers/postinst 2007-05-05 07:48:30.000000000 +0200
+++ kernel-package-11.001-fix/kernel/pkg/headers/postinst 2008-03-10 15:59:45.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 "i386";
my $stop_and_read = 0;
my $src_postinst_hook = '';
diff -U 3 -H -d -r -N -- kernel-package-11.001/kernel/ruleset/targets/headers.mk kernel-package-11.001-fix/kernel/ruleset/targets/headers.mk
--- kernel-package-11.001/kernel/ruleset/targets/headers.mk 2007-05-05 07:48:30.000000000 +0200
+++ kernel-package-11.001-fix/kernel/ruleset/targets/headers.mk 2008-03-10 15:59:14.000000000 +0100
@@ -70,12 +70,22 @@
$(install_file) Makefile $(SRCDIR)
test ! -e Rules.make || $(install_file) Rules.make $(SRCDIR)
test ! -e .kernelrelease || $(install_file) .kernelrelease $(SRCDIR)
+ $(make_directory) $(SRCDIR)/arch/x86/
test ! -e arch/$(KERNEL_ARCH)/Makefile || \
$(install_file) arch/$(KERNEL_ARCH)/Makefile \
$(SRCDIR)/arch/$(KERNEL_ARCH)
test ! -e arch/$(KERNEL_ARCH)/Makefile.cpu || \
$(install_file) arch/$(KERNEL_ARCH)/Makefile.cpu \
$(SRCDIR)/arch/$(KERNEL_ARCH)
+ test ! -e arch/x86/Makefile_32 || \
+ $(install_file) arch/x86/Makefile_32 \
+ $(SRCDIR)/arch/x86/Makefile_32
+ test ! -e arch/x86/Makefile_32.cpu || \
+ $(install_file) arch/x86/Makefile_32.cpu \
+ $(SRCDIR)/arch/x86/Makefile_32.cpu
+ test ! -e arch/x86/Makefile_64 || \
+ $(install_file) arch/x86/Makefile_64 \
+ $(SRCDIR)/arch/x86/Makefile_64
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)),)