Package: kernel-package Version: 12.031 Severity: normal Hi,
i'm cross compiling a i386-Server-Kernel on my amd64 Desktop system.To do this, i'm using the following command: CONCURRENCY_LEVEL=4 fakeroot make-kpkg --cross-compile=- --arch=i386 --revision=nostromo.1 kernel_image After a successful build the resulting package is named "linux-image-2.6.31_nostromo.1_amd64.deb" and its architecture is amd64. So this isn't installable on my 32-bit Debian. I tracked this issue down to /usr/share/kernel-package/ruleset/targets/image.mk which contains the targets for building Kernel images. There ist the creation of the control file: dpkg-gencontrol -DArchitecture=$(DEB_HOST__ARCH) -isp \ .... I changed this to "KERNEL_ARCH" which results in the new kernel package "linux-image-2.6.31_nostromo.1_i386.deb", which installs fine on my 32-bit Debian. So i don't know, if this is really a bug or a feature request. If it's not a bug, plz, let me know, how to cross-build a i386-Kernel the right way. Thanks in advance Michael Tuschik -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (900, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages kernel-package depends on: ii binutils 2.20-4 The GNU assembler, linker and bina ii build-essential 11.4 Informational list of build-essent ii debianutils 3.2.2 Miscellaneous utilities specific t ii file 5.03-5 Determines file type using "magic" ii gettext 0.17-8 GNU Internationalization utilities ii make 3.81-7 An utility for Directing compilati ii module-init-tools 3.11-1 tools for managing Linux kernel mo ii po-debconf 1.0.16 tool for managing templates file t ii util-linux 2.16.2-0 Miscellaneous system utilities Versions of packages kernel-package recommends: ii cpio 2.10-1 GNU cpio -- a program to manage ar Versions of packages kernel-package suggests: ii bzip2 1.0.5-3 high-quality block-sorting file co pn docbook-utils <none> (no description available) ii e2fsprogs 1.41.9-1 ext2/ext3/ext4 file system utiliti ii initramfs-tools [linux-initra 0.93.4 tools for generating an initramfs pn libdb3-dev <none> (no description available) pn libncurses-dev <none> (no description available) ii linux-source-2.6.31 [linux-so 2.6.31-2 Linux kernel source for version 2. pn xmlto <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org