mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-18 20:39:14 +08:00
core: aarch64 用回 fedora 的 efi
This commit is contained in:
parent
d18cf7db0f
commit
a461fc9c96
10
reinstall.sh
10
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user