Package: kernel-package
Version: 11.015
Severity: normal
Tags: patch
I am building openafs-modules for lenny and found this problem present in
versions
11.015 and 11.017. This problem is the same as Bug#417948. I produced a patch
that
solved the problem for me. Follow the diff with the change I needed to do for
version
11.017:
diff -ru kernel-package-11.017/kernel/ruleset/modules.mk
kernel-package-11.018~tp0/kernel/ruleset/modules.mk
--- kernel-package-11.017/kernel/ruleset/modules.mk 2008-10-09
21:11:12.000000000 +0100
+++ kernel-package-11.018~tp0/kernel/ruleset/modules.mk 2009-03-18
17:25:04.000000000 +0000
@@ -75,13 +75,6 @@
INSTALL_MOD_STRIP:=1
endif
-# Pass on cross arg, if not empty
-ifneq ($(strip $(CROSS_ARG)),)
- int_ca := "CROSS_ARG=$(CROSS_ARG)"
-else
- int_ca :=
-endif
-
# only generate module image packages
modules-image modules_image: .config
@@ -106,7 +99,7 @@
KPKG_DEST_DIR="$(KPKG_DEST_DIR)" \
KPKG_MAINTAINER="$(maintainer)" \
KPKG_EXTRAV_ARG="$(EXTRAV_ARG)" \
- ARCH="$(KERNEL_ARCH)" $(int_ca) \
+ ARCH="$(KERNEL_ARCH)" $(CROSS_ARG) \
KDREV="$(debian)" kdist_image; then \
echo "Module $$module processed fine"; \
else \
@@ -150,7 +143,7 @@
KMAINT="$(pgp)" KEMAIL="$(email)" \
KPKG_DEST_DIR="$(KPKG_DEST_DIR)" \
KPKG_MAINTAINER="$(maintainer)" \
- ARCH=$(KERNEL_ARCH) $(int_ca) \
+ ARCH=$(KERNEL_ARCH) $(CROSS_ARG) \
KPKG_EXTRAV_ARG="$(EXTRAV_ARG)" \
KDREV="$(debian)" kdist; then \
echo "Module $$module processed fine"; \
@@ -195,7 +188,7 @@
KMAINT="$(pgp)" KEMAIL="$(email)" \
KPKG_DEST_DIR="$(KPKG_DEST_DIR)" \
KPKG_MAINTAINER="$(maintainer)" \
- ARCH=$(KERNEL_ARCH) $(int_ca) \
+ ARCH=$(KERNEL_ARCH) $(CROSS_ARG) \
KPKG_EXTRAV_ARG="$(EXTRAV_ARG)" \
KDREV="$(debian)" kdist_configure; then\
echo "Module $$module configured fine"; \
@@ -230,7 +223,7 @@
KMAINT="$(pgp)" KEMAIL="$(email)" \
KPKG_DEST_DIR="$(KPKG_DEST_DIR)" \
KPKG_MAINTAINER="$(maintainer)" \
- ARCH=$(KERNEL_ARCH) $(int_ca) \
+ ARCH=$(KERNEL_ARCH) $(CROSS_ARG) \
KPKG_EXTRAV_ARG="$(EXTRAV_ARG)" \
KDREV="$(debian)" kdist_clean; then \
echo "Module $$module cleaned"; \
TIA
Jose Calhariz
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.18-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages kernel-package depends on:
ii binutils 2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii debianutils 2.30 Miscellaneous utilities specific t
ii dpkg 1.14.25 Debian package management system
ii dpkg-dev 1.14.25 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-25 The GNU C compiler
ii gcc-4.3 [c-compiler 4.3.2-1.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 module-init-tools 3.4-1 tools for managing Linux kernel mo
ii perl 5.10.0-19 Larry Wall's Practical Extraction
ii po-debconf 1.0.15 manage translated Debconf template
ii util-linux 2.13.1.1-1 Miscellaneous system utilities
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-18 GNU C Library: Development Librari
Versions of packages kernel-package suggests:
pn docbook-utils <none> (no description available)
ii e2fsprogs 1.41.3-1 ext2/ext3/ext4 file system utiliti
pn libdb3-dev <none> (no description available)
ii libncurses5-dev [libncurs 5.7+20081213-1 developer's libraries and docs for
pn linux-initramfs-tool <none> (no description available)
pn linux-source | kernel-sou <none> (no description available)
pn xmlto <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]