aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2017-10-18 10:59:27 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-10-18 11:03:01 +0000
commitfd978b70d60e399fd39d21774defe60af3bdc2fa (patch)
treebcdddce3dc5c3142534c46ce0fc11d386ef6380e
parentacd1cd8f21b59e82e018fa461b10cbd02c507606 (diff)
downloadaports-fd978b70d60e399fd39d21774defe60af3bdc2fa.tar.gz
aports-fd978b70d60e399fd39d21774defe60af3bdc2fa.tar.bz2
aports-fd978b70d60e399fd39d21774defe60af3bdc2fa.tar.xz
scripts/mkimg.base: add efi formats and filenames for arm and x86
-rwxr-xr-xscripts/mkimg.base.sh16
1 files changed, 5 insertions, 11 deletions
diff --git a/scripts/mkimg.base.sh b/scripts/mkimg.base.sh
index 6cdd0699e7..632fa9e6d7 100755
--- a/scripts/mkimg.base.sh
+++ b/scripts/mkimg.base.sh
@@ -195,17 +195,11 @@ section_grub_efi() {
local _format _efi
case "$ARCH" in
- x86_64)
- _format="x86_64-efi"
- _efi="bootx64.efi"
- ;;
- aarch64)
- _format="arm64-efi"
- _efi="bootaa64.efi"
- ;;
- *)
- return 0
- ;;
+ aarch64)_format="arm64-efi"; _efi="bootaa64.efi" ;;
+ arm*) _format="arm-efi"; _efi="bootarm.efi" ;;
+ x86) _format="i386-efi"; _efi="bootia32.efi" ;;
+ x86_64) _format="x86_64-efi"; _efi="bootx64.efi" ;;
+ *) return 0 ;;
esac
build_section grub_cfg boot/grub/grub.cfg $(grub_gen_config | checksum)