X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fs390%2Fboot%2Finstall.sh;h=278a8139cb18cfa0593baf421b643a1f5600a455;hb=1be35e94e1da3669db492995cd2c8b1a37016b11;hp=860bebc1b8d866c5fc122475bc5fadb101e49b7f;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/arch/s390/boot/install.sh b/arch/s390/boot/install.sh index 860bebc1b..278a8139c 100644 --- a/arch/s390/boot/install.sh +++ b/arch/s390/boot/install.sh @@ -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