Remove EOS-specific changes

This commit is contained in:
dalto 2021-02-21 17:36:11 -06:00
parent 04e927e67f
commit e0f40cb4a4
2 changed files with 1 additions and 15 deletions

View File

@ -7,7 +7,7 @@
---
# Define which bootloader you want to use for EFI installations
# Possible options are 'grub', 'sb-shim' and 'systemd-boot'.
efiBootLoader: "systemd-boot"
efiBootLoader: "grub"
# systemd-boot configuration files settings, set kernel search path, kernel name
# and amount of time before default selection boots

View File

@ -322,20 +322,6 @@ def install_systemd_boot(efi_directory):
create_loader(loader_path, distribution_translated)
# clean up redundant kernel and initrd
try:
os.remove(os.path.join(install_path, "boot/vmlinuz-linux"))
except FileNotFoundError:
pass
try:
os.remove(os.path.join(install_path, "boot/initramfs-linux.img"))
except FileNotFoundError:
pass
try:
os.remove(os.path.join(install_path, "boot/initramfs-linux-fallback.img"))
except FileNotFoundError:
pass
def get_grub_efi_parameters():
"""