install BOOTIMAGE

Geoff Levand geoffrey.levand at am.sony.com
Thu Oct 6 09:25:33 EST 2005


With the way the current arch/ppc64/boot/Makefile (2.6.13) calls 
install.sh, it seems 'make install' will always install vmlinux.

It seems the proper behavior is for install.sh to install 
BOOTIMAGE, which for all but iSeries is a kind of zImage.  Does 
this change below cause problems for anyone?

-Geoff

# Arguments:
#   $1 - kernel version
#   $2 - kernel image file
#   $3 - kernel map file
#   $4 - default install path (blank if root directory)
#   $5 - kernel boot file, the zImage


Index: linux-2.6.13/arch/ppc64/boot/install.sh
===================================================================
--- linux-2.6.13.orig/arch/ppc64/boot/install.sh	2005-08-28 16:41:01.000000000 -0700
+++ linux-2.6.13/arch/ppc64/boot/install.sh	2005-10-05 15:26:52.000000000 -0700
@@ -38,5 +38,5 @@
 	mv $4/System.map $4/System.old
 fi
 
-cat $2 > $4/$image_name
+cat $5 > $4/$image_name
 cp $3 $4/System.map






More information about the Linuxppc64-dev mailing list