|
@@ -15,7 +15,7 @@
|
|
# $2 - kernel image file
|
|
# $2 - kernel image file
|
|
# $3 - kernel map file
|
|
# $3 - kernel map file
|
|
# $4 - default install path (blank if root directory)
|
|
# $4 - default install path (blank if root directory)
|
|
-# $5 - kernel boot file, the zImage
|
|
|
|
|
|
+# $5 and more - kernel boot files; zImage*, uImage, cuImage.*, etc.
|
|
#
|
|
#
|
|
|
|
|
|
# User may have a custom install script
|
|
# User may have a custom install script
|
|
@@ -38,3 +38,15 @@ fi
|
|
|
|
|
|
cat $2 > $4/$image_name
|
|
cat $2 > $4/$image_name
|
|
cp $3 $4/System.map
|
|
cp $3 $4/System.map
|
|
|
|
+
|
|
|
|
+# Copy all the bootable image files
|
|
|
|
+path=$4
|
|
|
|
+shift 4
|
|
|
|
+while [ $# -ne 0 ]; do
|
|
|
|
+ image_name=`basename $1`
|
|
|
|
+ if [ -f $path/$image_name ]; then
|
|
|
|
+ mv $path/$image_name $path/$image_name.old
|
|
|
|
+ fi
|
|
|
|
+ cat $1 > $path/$image_name
|
|
|
|
+ shift
|
|
|
|
+done;
|