I try to build customized 64-bit kernel on Debian Squeeze 32-bit system. I took linux-source-3.2 from squeeze-backports and followed instructions from Compiling a New Kernel document. That is how I did it:
# cd /usr/src/linux-source-3.2
# cp /boot/config-3.2.0-0.bpo.1-amd64 .config
# make menuconfig # i did not change anything here
# make clean
# make KDEB_PKGVERSION=custom.1.0 deb-pkg
Everything went OK until I tried to install built package:
# dpkg -i ../linux-image-3.2.1_custom.1.0_amd64.deb
dpkg: error processing ../linux-image-3.2.1_custom.1.0_amd64.deb (--install):
package architecture (amd64) does not match system (i386)
Errors were encountered while processing:
../linux-image-3.2.1_custom.1.0_amd64.deb
What I am doing wrong?
You didn’t install dpkg from experimental. Oh wait. Guillem reverted that feature. Never mind.