This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / s390 / boot / install.sh
index 860bebc..278a813 100644 (file)
@@ -16,8 +16,7 @@
 #   $1 - kernel version
 #   $2 - kernel image file
 #   $3 - kernel map file
-#   $4 - kernel type file
-#   $5 - default install path (blank if root directory)
+#   $4 - default install path (blank if root directory)
 #
 
 # User may have a custom install script
@@ -27,22 +26,13 @@ if [ -x /sbin/installkernel ]; then exec /sbin/installkernel "$@"; fi
 
 # Default install - same as make zlilo
 
-if [ -f $5/vmlinuz ]; then
-       mv $5/vmlinuz $5/vmlinuz.old
+if [ -f $4/vmlinuz ]; then
+       mv $4/vmlinuz $4/vmlinuz.old
 fi
 
-if [ -f $5/System.map ]; then
-       mv $5/System.map $5/System.old
+if [ -f $4/System.map ]; then
+       mv $4/System.map $4/System.old
 fi
 
-if [ -f $5/Kerntypes ]; then
-       mv $5/Kerntypes $5/Kerntypes.old
-fi
-
-cat $2 > $5/vmlinuz
-cp $3 $5/System.map
-
-# copy the kernel type file if it exists
-if [ -f $4 ]; then
-       cp $4 $5/Kerntypes
-fi
+cat $2 > $4/vmlinuz
+cp $3 $4/System.map