fakeroot make-kpkg --arch=amd64 --initrd --append-to-version=.20060107 kernel-image
The package name is: linux-image-2.6.15.20060107_2.6.15.20060107-10.00.Custom_amd64.debwhich is strange because I gave the target as kernel-image not linux-image and 2.6.15.20060107 is added to the name twice.
and yaird failed on the install see below. -Stevewoodbri@carto:/usr/src$ sudo dpkg -i linux-image-2.6.15.20060107_2.6.15.20060107-10.00.Custom_amd64.deb
Password: Selecting previously deselected package linux-image-2.6.15.20060107. (Reading database ... 41199 files and directories currently installed.)Unpacking linux-image-2.6.15.20060107 (from linux-image-2.6.15.20060107_2.6.15.20060107-10.00.Custom_amd64.deb) ...
Done. Setting up linux-image-2.6.15.20060107 (2.6.15.20060107-10.00.Custom) ... Finding valid ramdisk creators. Using mkinitrd.yaird to build the ramdisk. yaird error: unknown kernel version: 2.6.15.20060107 (fatal) mkinitrd.yaird failed to create initrd image. Failed to create initrd image. dpkg: error processing linux-image-2.6.15.20060107 (--install): subprocess post-installation script returned error exit status 9 Errors were encountered while processing: linux-image-2.6.15.20060107 woodbri@carto:/usr/src$ sudo dpkg -P linux-image-2.6.15.20060107 (Reading database ... 41349 files and directories currently installed.) Removing linux-image-2.6.15.20060107 ... Running postrm hook /sbin/update-grub . Searching for GRUB installation directory ... found: /boot/grub . Purging configuration files for linux-image-2.6.15.20060107 ... Running postrm hook /sbin/update-grub . Searching for GRUB installation directory ... found: /boot/grub . dpkg: error processing linux-image-2.6.15.20060107 (--purge): subprocess post-removal script returned error exit status 128 Errors were encountered while processing: linux-image-2.6.15.20060107 Stephen Woodbridge wrote:
OK, I am making some progress ... I found this link and it seems pretty clean and straight forward.http://www.dominik-epple.de/Sarge-Linux_2.6.14-yaird/ and I have followed these steps except I'm using 2.6.15, ie: Backporting yaird, texi2html, make, kernel-packageI spent all day going through menuconfig and follow an example config file the Andrew sent me.But when I try to compile the kernel it looks like it thinks it should be trying to cross compile. I'm wonder if it is somehow confused by the packages I backported?$ fakeroot make-kpkg --initrd --append-to-version=.20060107 kernel-image [snip] /usr/bin/make EXTRAVERSION=.20060107 ARCH=x86_64 \ CROSS_COMPILE=x86_64-linux- bzImage make[1]: Entering directory `/usr/src/linux-2.6.15' CHK include/linux/version.h CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost HOSTCC scripts/kallsyms HOSTCC scripts/conmakehash CC init/main.o CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o CC init/do_mounts.o CC init/do_mounts_rd.o CC init/do_mounts_initrd.o LD init/mounts.o /bin/sh: line 1: x86_64-linux-ld: command not found make[2]: *** [init/mounts.o] Error 127 make[1]: *** [init] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.15' make: *** [debian/stamp-build-kernel] Error 2