On Sun, Oct 19 2008, Rogério Brito wrote:

> Hi, Manoj.
>
> On Oct 19 2008, Manoj Srivastava wrote:
>> On Sat, Oct 18 2008, Rogério Brito wrote:
>> 
>> > "make all" creates:
>> >
>> > * a vmlinux in the root directory of the kernel tree
>> > * a zImage in arch/powerpc/boot/
>> > * a uImage in arch/powerpc/boot/ 
>> 
> Here are the core files (besides the modules) that I'm copying into
> boot (from a slightly updated version of the script that I sent):
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> cp System.map                         /tmp/kernel/boot/System.map-$VERSION
> cp .config                            /tmp/kernel/boot/config-$VERSION

        This is already being done. 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; and thus make-kpkg would  need t special case powerpc, and
 create a different control file on that arch -- only in some cases.

> 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.

> 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. 

        manoj
-- 
Ferguson's Precept: A crisis is when you can't say "let's forget the
whole thing."
Manoj Srivastava <[EMAIL PROTECTED]> <http://www.debian.org/~srivasta/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to