remove useless efitools

This commit is contained in:
Tobias Powalowski 2023-08-19 18:08:46 +02:00
parent 3b8d2fef15
commit 2e8e394cf2
4 changed files with 0 additions and 22 deletions

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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