r4376 - dists/trunk/utils/mkvmlinuz/mkvmlinuz

Sven Luther luther at costa.debian.org
Mon Oct 10 16:53:53 UTC 2005


Author: luther
Date: 2005-10-10 16:53:53 +0000 (Mon, 10 Oct 2005)
New Revision: 4376

Modified:
   dists/trunk/utils/mkvmlinuz/mkvmlinuz/mkvmlinuz
Log:
fixed and tested apus subarch generation.


Modified: dists/trunk/utils/mkvmlinuz/mkvmlinuz/mkvmlinuz
===================================================================
--- dists/trunk/utils/mkvmlinuz/mkvmlinuz/mkvmlinuz	2005-10-10 16:47:29 UTC (rev 4375)
+++ dists/trunk/utils/mkvmlinuz/mkvmlinuz/mkvmlinuz	2005-10-10 16:53:53 UTC (rev 4376)
@@ -252,7 +252,7 @@
 fi
 
 # create the raw ELF image file; this is not needed for the miBoot image
-if test "$arch" != miboot; then
+if test -z "$elf"; then
     test -z "$verbose" || echo === Putting everything into ELF image file image.o...
     do_cmd $OBJCOPY -R .comment $dummy $work/image.o
     do_cmd $OBJCOPY $work/image.o $work/image.o \
@@ -268,6 +268,8 @@
 	    --add-section=.ramdisk=$work/initrd.gz \
 	    --set-section-flags=.ramdisk=contents,alloc,load,readonly,data
     fi
+else
+	do_cmd $MV $work/vmlinux.gz $work/vmlinuz.$arch.tmp
 fi
 
 # link everything into the final image file and make it bootable




More information about the Kernel-svn-changes mailing list