3 # arch/s390x/boot/install.sh
5 # This file is subject to the terms and conditions of the GNU General Public
6 # License. See the file "COPYING" in the main directory of this archive
9 # Copyright (C) 1995 by Linus Torvalds
11 # Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin
13 # "make install" script for s390 architecture
17 # $2 - kernel image file
18 # $3 - kernel map file
19 # $4 - kernel type file
20 # $5 - default install path (blank if root directory)
23 # User may have a custom install script
25 if [ -x ~/bin/installkernel ]; then exec ~/bin/installkernel "$@"; fi
26 if [ -x /sbin/installkernel ]; then exec /sbin/installkernel "$@"; fi
28 # Default install - same as make zlilo
30 if [ -f $5/vmlinuz ]; then
31 mv $5/vmlinuz $5/vmlinuz.old
34 if [ -f $5/System.map ]; then
35 mv $5/System.map $5/System.old
38 if [ -f $5/Kerntypes ]; then
39 mv $5/Kerntypes $5/Kerntypes.old
45 # copy the kernel type file if it exists