From a461fc9c96f1ecd4aca17e5098b2bca8fc3d7b65 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sat, 23 Dec 2023 21:03:56 +0800 Subject: [PATCH] =?UTF-8?q?core:=20aarch64=20=E7=94=A8=E5=9B=9E=20fedora?= =?UTF-8?q?=20=E7=9A=84=20efi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- reinstall.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/reinstall.sh b/reinstall.sh index c53737f..82d791f 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -1044,8 +1044,14 @@ install_grub_linux_efi() { fi # fedora x86_64 的 efi 无法识别 opensuse tumbleweed 的 btrfs - # 造成找不到启动内核 - if false; then + # opensuse tumbleweed aarch64 的 efi 无法识别 alpine 3.19 的内核 + if [ "$basearch" = aarch64 ]; then + efi_distro=fedora + else + efi_distro=opensuse + fi + + if [ "$efi_distro" = fedora ]; then fedora_ver=39 if is_in_china; then