Hello,
I've asked this before on debian-powerpc, to no avail. I am trying to build a 2.6.14-kernel for an iSeries, and I cannot figure out how to create an image with an initrd attached to it. What I've tried is:
make-kpkg --append-to-version test.1 kernel_image # works allright
dpkg -i /usr/src/linux-image-2.6.14....deb
The latter does not quite work. /etc/kernel/postinst.d/mkvmlinuz aborts since $bootloader evals to 'unknown'. If I force the execution of mkvmlinuz, it breaks pretty early in the script, because it cannot find dummy.o:
Code:
objcopy -R .comment //obj/dummy.o /tmp/tmp.wIIsHl/image.o
objcopy: '//obj/dummy.o': No such file
I am trying all of this within a sid chroot:
Code:
ppc:/# uname -a
Linux ppc 2.4.19-ul-SP1-iseries64-SMP #1 SMP Fri Jul 18 15:56:44 UTC 2003 ppc64 GNU/Linux
ppc:/# dpkg -l kernel-package mkvmlinuz | grep ^ii
ii kernel-package 10.032 A utility for building Linux kernel related Debian packages.
ii mkvmlinuz 18 create a kernel to boot a PowerPC machine from Open Firmware
Any help would be appreciated.
Regards, Wolf