aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/boot/install.sh')
-rwxr-xr-xarch/arm64/boot/install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/boot/install.sh b/arch/arm64/boot/install.sh
index 7399d706967a..9b7a09808a3d 100755
--- a/arch/arm64/boot/install.sh
+++ b/arch/arm64/boot/install.sh
@@ -17,7 +17,8 @@
# $3 - kernel map file
# $4 - default install path (blank if root directory)
-if [ "$(basename $2)" = "Image.gz" ]; then
+if [ "$(basename $2)" = "Image.gz" ] || [ "$(basename $2)" = "vmlinuz.efi" ]
+then
# Compressed install
echo "Installing compressed kernel"
base=vmlinuz