#!/bin/sh1# SPDX-License-Identifier: GPL-2.02#3# arch/s390x/boot/install.sh4#5# Copyright (C) 1995 by Linus Torvalds6#7# Adapted from code in arch/i386/boot/Makefile by H. Peter Anvin8#9# "make install" script for s390 architecture10#11# Arguments:12# $1 - kernel version13# $2 - kernel image file14# $3 - kernel map file15# $4 - default install path (blank if root directory)1617set -e1819echo "Warning: '${INSTALLKERNEL}' command not available - additional " \20"bootloader config required" >&221if [ -f "$4/vmlinuz-$1" ]; then mv -- "$4/vmlinuz-$1" "$4/vmlinuz-$1.old"; fi22if [ -f "$4/System.map-$1" ]; then mv -- "$4/System.map-$1" "$4/System.map-$1.old"; fi2324cat -- "$2" > "$4/vmlinuz-$1"25cp -- "$3" "$4/System.map-$1"262728