summaryrefslogtreecommitdiffstats
path: root/src/live
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2022-09-08 11:07:55 +0200
committerJose M. Guisado <jguisado@soleta.eu>2022-09-14 17:10:45 +0200
commitcb0bd3d194ddd4ecaab8e671444f1bf7abc8f908 (patch)
treefad99cc8cf9c0fde21834656f3cb59076260f007 /src/live
parent3550da73e6da062d69dd0d7f1f6889b684abb15d (diff)
image_create: add legacy ogCopyEfiBootloader
Use legacy script that saves the Windows-specific content from the ESP to the image target filesystem. Current image restore solution from OpenGnsys scripts expect the EFI partition to be stored in the target system partition. (Only for Windows 10) For example, storing the ESP in the NTFS partition of a Windows image. Expect use of bash script ogCopyEfiBootloader until further integration is merged.
Diffstat (limited to 'src/live')
-rw-r--r--src/live/ogOperations.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 439d1d7..ed06540 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -335,6 +335,7 @@ class OgLiveOperations:
raise ValueError('Target partition has no filesystem present')
cambiar_acceso(user=self._smb_user, pwd=self._smb_pass)
+ ogCopyEfiBootloader(disk, partition)
ogReduceFs(disk, partition)
cmd1 = shlex.split(f'partclone.{fstype} -I -C --clone -s {padev} -O -')