summaryrefslogtreecommitdiffstats
path: root/src/live/ogOperations.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-03-25 09:53:48 +0100
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-03-26 13:32:58 +0100
commit55fadef718711ad6ddfc3fc29380a4cf0dddc38e (patch)
tree6dacd4f8b17f1fcfc546ade15cdfa9d0bfb533b2 /src/live/ogOperations.py
parent57787dab5499a38915b5e2f702844553abd2ea2a (diff)
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.
Diffstat (limited to 'src/live/ogOperations.py')
-rw-r--r--src/live/ogOperations.py2
1 files changed, 1 insertions, 1 deletions
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}')