powerpc/boot: Add version to install filenames
authorNick Child <nnac123@linux.ibm.com>
Tue, 14 Mar 2023 16:44:42 +0000 (11:44 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 20 Oct 2023 06:34:26 +0000 (17:34 +1100)
commit269d79fb30f6b2419b8a67d99d8bdf58ced44d72
tree112b93a466f21a2cd976866ab07916f59f36c511
parent95f1a128cd728a7257d78e868f1f5a145fc43736
powerpc/boot: Add version to install filenames

Rather than replacing the versionless vmlinux and System.map files,
copy to files with the version info appended.

Additionally, since executing the script is a last resort option,
inform the user about the missing `installkernel` command and the
location of the installation.

This work is adapted from `arch/s390/boot/install.sh`, and also matches
the behaviour of arm, arm64 and riscv.

Signed-off-by: Nick Child <nnac123@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230314164442.124929-1-nnac123@linux.ibm.com
arch/powerpc/boot/install.sh