Merge pull request #1628 from Conan-Kudo/fix-efi-install
modules/bootloader: Use the correct names for the shim binaries
This commit is contained in:
commit
2ebfae134b
1
AUTHORS
1
AUTHORS
@ -38,6 +38,7 @@ and moral support from (alphabetically by first name or nickname):
|
|||||||
- Kevin Kofler
|
- Kevin Kofler
|
||||||
- Kyle Robertze
|
- Kyle Robertze
|
||||||
- Lisa Vitolo
|
- Lisa Vitolo
|
||||||
|
- Neal Gompa
|
||||||
- n3rdopolis
|
- n3rdopolis
|
||||||
- Philip Müller
|
- Philip Müller
|
||||||
- Ramon Buldó
|
- Ramon Buldó
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
# SPDX-FileCopyrightText: 2017-2019 Adriaan de Groot <groot@kde.org>
|
# SPDX-FileCopyrightText: 2017-2019 Adriaan de Groot <groot@kde.org>
|
||||||
# SPDX-FileCopyrightText: 2017 Gabriel Craciunescu <crazy@frugalware.org>
|
# SPDX-FileCopyrightText: 2017 Gabriel Craciunescu <crazy@frugalware.org>
|
||||||
# SPDX-FileCopyrightText: 2017 Ben Green <Bezzy1999@hotmail.com>
|
# SPDX-FileCopyrightText: 2017 Ben Green <Bezzy1999@hotmail.com>
|
||||||
|
# SPDX-FileCopyrightText: 2021 Neal Gompa <ngompa13@gmail.com>
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
#
|
#
|
||||||
# Calamares is Free Software: see the License-Identifier above.
|
# Calamares is Free Software: see the License-Identifier above.
|
||||||
@ -372,9 +373,9 @@ def install_secureboot(efi_directory):
|
|||||||
install_efi_directory = install_path + efi_directory
|
install_efi_directory = install_path + efi_directory
|
||||||
|
|
||||||
if efi_word_size() == "64":
|
if efi_word_size() == "64":
|
||||||
install_efi_bin = "shim64.efi"
|
install_efi_bin = "shimx64.efi"
|
||||||
else:
|
elif efi_word_size() == "32":
|
||||||
install_efi_bin = "shim.efi"
|
install_efi_bin = "shimia32.efi"
|
||||||
|
|
||||||
# Copied, roughly, from openSUSE's install script,
|
# Copied, roughly, from openSUSE's install script,
|
||||||
# and pythonified. *disk* is something like /dev/sda,
|
# and pythonified. *disk* is something like /dev/sda,
|
||||||
|
Loading…
Reference in New Issue
Block a user