summaryrefslogtreecommitdiffstats
path: root/src/live
diff options
context:
space:
mode:
Diffstat (limited to 'src/live')
-rw-r--r--src/live/ogOperations.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 70c4d38..1729a0b 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -447,6 +447,9 @@ class OgLiveOperations:
logging.error('Cannot open /opt/opengnsys/images')
raise ValueError('Cannot access image folder')
+ if os.access(f'{image_path}', os.R_OK) == True:
+ logging.info(f'image file {image_path} already exists, updating.')
+
ogCopyEfiBootLoader(disk, partition)
ogReduceFs(disk, partition)