Package: kernel-package
Version: 11.001-0.1
Severity: important
Tags: patch


Hi,

I recently used kernel-package to create a custom debian kernel.
I also created the linux-headers-... packages so I could compile
lirc-modules for this kernel.

However I can't compile lirc-module-source because of a missing
arch/x86/Makefile_32.cpu file.

It seems this is a new file that appeared because of the x86 architecture merge,
so kernel-package should be updated to include it.

I found the following ubuntu bug which talks about this bug:
https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/195673

I solved the bug with the following patch, but I doubt this is the best 
solution.

diff -ur /usr/share/kernel-package/ruleset/arches/i386.mk 
/usr/share/kernel-package.new/ruleset/arches/i386.mk
--- /usr/share/kernel-package/ruleset/arches/i386.mk    2008-01-15 
00:40:43.000000000 +0100
+++ /usr/share/kernel-package.new/ruleset/arches/i386.mk        2008-10-12 
15:46:04.000000000 +0200
@@ -30,6 +30,7 @@
 ##
 ###############################################################################
 
+KERNEL_ARCH = x86
 # sub archs can be i386 i486 i586 i686
 GUESS_SUBARCH:=$(shell if test -f .config; then \
                       perl -nle '/^CONFIG_M(.86)=y/ && print "$$1"' .config;\
diff -ur /usr/share/kernel-package/ruleset/targets/headers.mk 
/usr/share/kernel-package.new/ruleset/targets/headers.mk
--- /usr/share/kernel-package/ruleset/targets/headers.mk        2007-05-05 
07:48:30.000000000 +0200
+++ /usr/share/kernel-package.new/ruleset/targets/headers.mk    2008-10-12 
16:00:33.000000000 +0200
@@ -76,6 +76,12 @@
        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.cpu ||                        
     \
+                                $(install_file) 
arch/$(KERNEL_ARCH)/Makefile_32.cpu  \
+                                                     
$(SRCDIR)/arch/$(KERNEL_ARCH)
+       test ! -e arch/$(KERNEL_ARCH)/Makefile_64.cpu ||                        
     \
+                                $(install_file) 
arch/$(KERNEL_ARCH)/Makefile_64.cpu  \
+                                                     
$(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)),)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-openvz-686-nopae (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kernel-package depends on:
ii  dpkg                          1.14.22    Debian package management system
ii  dpkg-dev                      1.14.22    Debian package development tools
ii  file                          4.26-1     Determines file type using "magic"
ii  gcc [c-compiler]              4:4.3.2-2  The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.2-23   The GNU C compiler
ii  gcc-4.3 [c-compiler]          4.3.2-1    The GNU C compiler
ii  gettext                       0.17-4     GNU Internationalization utilities
ii  make                          3.81-5     The GNU version of the "make" util
ii  perl                          5.10.0-15  Larry Wall's Practical Extraction 
ii  po-debconf                    1.0.15     manage translated Debconf template

Versions of packages kernel-package recommends:
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  libc6-dev [libc-dev]          2.7-13     GNU C Library: Development Librari

Versions of packages kernel-package suggests:
pn  docbook-utils             <none>         (no description available)
pn  libdb3-dev                <none>         (no description available)
ii  libncurses5-dev [libncurs 5.6+20080830-1 developer's libraries and docs for
ii  linux-source-2.6.26 [linu 2.6.26-5       Linux kernel source for version 2.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to