Remove EOS-specific changes
This commit is contained in:
parent
04e927e67f
commit
e0f40cb4a4
@ -7,7 +7,7 @@
|
|||||||
---
|
---
|
||||||
# Define which bootloader you want to use for EFI installations
|
# Define which bootloader you want to use for EFI installations
|
||||||
# Possible options are 'grub', 'sb-shim' and 'systemd-boot'.
|
# 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
|
# systemd-boot configuration files settings, set kernel search path, kernel name
|
||||||
# and amount of time before default selection boots
|
# and amount of time before default selection boots
|
||||||
|
@ -322,20 +322,6 @@ def install_systemd_boot(efi_directory):
|
|||||||
|
|
||||||
create_loader(loader_path, distribution_translated)
|
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():
|
def get_grub_efi_parameters():
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user