mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
remove useless efitools
This commit is contained in:
parent
3b8d2fef15
commit
2e8e394cf2
4 changed files with 0 additions and 22 deletions
|
@ -137,7 +137,6 @@ _uefi_common() {
|
|||
[[ -f "${_DESTDIR}/usr/bin/efibootmgr" ]] || _PACKAGES="${_PACKAGES} efibootmgr"
|
||||
if [[ -n "${_UEFI_SECURE_BOOT}" ]]; then
|
||||
[[ -f "${_DESTDIR}/usr/bin/mokutil" ]] || _PACKAGES="${_PACKAGES} mokutil"
|
||||
[[ -f "${_DESTDIR}/usr/bin/efi-readvar" ]] || _PACKAGES="${_PACKAGES} efitools"
|
||||
[[ -f "${_DESTDIR}/usr/bin/sbsign" ]] || _PACKAGES="${_PACKAGES} sbsigntools"
|
||||
fi
|
||||
if [[ -n "${_PACKAGES}" ]]; then
|
||||
|
|
|
@ -125,12 +125,6 @@ _prepare_fedora_shim_bootloaders_aarch64 () {
|
|||
cp "/usr/share/archboot/bootloader/BOOTAA64.efi" "${_ISODIR}/EFI/BOOT/BOOTAA64.EFI"
|
||||
}
|
||||
|
||||
_prepare_efitools_uefi () {
|
||||
echo "Preparing efitools..."
|
||||
cp "/usr/share/efitools/efi/HashTool.efi" "${_ISODIR}/EFI/TOOLS/HASHTOOL.EFI"
|
||||
cp "/usr/share/efitools/efi/KeyTool.efi" "${_ISODIR}/EFI/TOOLS/KEYTOOL.EFI"
|
||||
}
|
||||
|
||||
_prepare_uefi_shell_tianocore() {
|
||||
echo "Preparing UEFI shell..."
|
||||
## Installing Tianocore UDK/EDK2 UEFI X64 "Full Shell"
|
||||
|
|
|
@ -25,7 +25,6 @@ if echo "${_BASENAME}" | grep -qw aarch64 || echo "${_BASENAME}" | grep -qw x86_
|
|||
_prepare_uefi_IA32 || exit 1
|
||||
_prepare_memtest || exit 1
|
||||
fi
|
||||
_prepare_efitools_uefi || exit 1
|
||||
_prepare_background || exit 1
|
||||
_reproducibility
|
||||
_prepare_uefi_image || exit 1
|
||||
|
|
|
@ -35,17 +35,6 @@ function _menu_running {
|
|||
echo "Please wait ..."
|
||||
}
|
||||
|
||||
function _secure_boot_tools {
|
||||
menuentry "Secure Boot KeyTool" {
|
||||
_menu_running
|
||||
chainloader /efi/tools/keytool.efi
|
||||
}
|
||||
menuentry "Secure Boot HashTool" {
|
||||
_menu_running
|
||||
chainloader /efi/tools/hashtool.efi
|
||||
}
|
||||
}
|
||||
|
||||
function _efi_shell {
|
||||
if [ ${grub_cpu} == "x86_64" ]; then
|
||||
menuentry "UEFI Shell" {
|
||||
|
@ -98,9 +87,6 @@ if [ ${grub_platform} == "efi" ]; then
|
|||
}
|
||||
_efi_shell
|
||||
fi
|
||||
submenu "UEFI Secure Boot Tools" {
|
||||
_secure_boot_tools
|
||||
}
|
||||
menuentry "UEFI Firmware Setup" {
|
||||
_menu_running
|
||||
fwsetup
|
||||
|
|
Loading…
Reference in a new issue