Hi, Manoj. On Oct 19 2008, Manoj Srivastava wrote: > On Sun, Oct 19 2008, Rogério Brito wrote: > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > cp System.map > > /tmp/kernel/boot/System.map-$VERSION > > cp .config /tmp/kernel/boot/config-$VERSION > > This is already being done.
Yes, I'm doing that with your practice as a model. > Unless you mean that there should be yet another package that does > not contain vmlinuz, this means more work in kernel-package -- > especially since there is no analog in other arches; Please, note that there is no vmlinu*z* when I compile this kernel (this has a tree of an already compiled kernel): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [EMAIL PROTECTED]:/usr/local/media/cross-compile/linux$ find . -iname "*vmlinuz*" [EMAIL PROTECTED]:/usr/local/media/cross-compile/linux$ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - There's only a vmlinu*x* on the top level directory of the tree. > and thus make-kpkg would need t special case powerpc, and create a > different control file on that arch -- only in some cases. I don't recall what is the situation with a NewWorld powermac, but I used to use make-kpkg fine there. With OldWorld powermacs, I seem to remember that, for a miboot image, I had to grab one of the kernel images, compress it with gzip and put it into a floppy. But that's not the case here. I'm happy with both NewWorld and this embedded machine working. We can see the OldWorld case latter, when I get the dust off it latter. > > cp arch/powerpc/boot/uImage /tmp/kernel/boot/uImage-$VERSION > > cp arch/powerpc/boot/dts/kuroboxHD.dtb > > /tmp/kernel/boot/kuroboxHD.dtb-$VERSION > > cp arch/powerpc/boot/dts/kuroboxHG.dtb > > /tmp/kernel/boot/kuroboxHG.dtb-$VERSION > > These are the three extra files that need to be copied over. I > can try creating a step in image package for all arches where > INSTALL_EXTRA_IMAGE_FILES step is invoked, and this is usually null, > but can be set to do the right thing for powerpc. This is the minimally > disruptive way to accomplish this. Thanks. This would be quite nice. > > cd /tmp/kernel/boot > > ln -sf uImage-$VERSION uImage > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > > > Of course, the symlink there should be installed by postinst, since dpkg > > complains that we are trying to overwrite files from other packages. > > The symlink should be handled like grub is -- users drop in a > script in /etc/kernel/postinst.d, if needed. Well, a postinst script on the package would take care of it. I just couldn't get it done with a here-doc shell script due to quoting and I didn't bother going further. I'm installing the packages with --force-all passed to dpkg for the time being. Thanks for your kindness, Rogério Brito. -- Rogério Brito : [EMAIL PROTECTED],ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]