From 55fadef718711ad6ddfc3fc29380a4cf0dddc38e Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Mon, 25 Mar 2024 09:53:48 +0100 Subject: utils: drop ogCopyEfiBootLoader script Implement a Python equivalent of ogCopyEfiBootLoader as the function copy_efi_bootloader. This function copies the contents of the folder of the EFI loader in the ESP into a ogBoot folder at the root of the partition target of an image creation. copy_efi_bootloader is a Windows only functionality. --- src/live/ogOperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/live') diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index 364f3bd..a3df4c8 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -461,7 +461,7 @@ class OgLiveOperations: if os.access(f'{image_path}', os.R_OK) == True: logging.info(f'image file {image_path} already exists, updating.') - ogCopyEfiBootLoader(disk, partition) + copy_windows_efi_bootloader(disk, partition) if ogReduceFs(disk, partition) == -1: raise ValueError(f'Failed to shrink {fstype} filesystem in {padev}') -- cgit v1.2.3-18-g5258