summaryrefslogtreecommitdiffstats
path: root/src/live
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2022-09-14 09:54:06 +0200
committerJose M. Guisado <jguisado@soleta.eu>2022-09-14 17:12:14 +0200
commit91077da273215596f07b7ebc858633dca350ad30 (patch)
treec3578c20417fbfcc7edf382f2f847664eab117c0 /src/live
parentcb0bd3d194ddd4ecaab8e671444f1bf7abc8f908 (diff)
utils: minor fix for ogReduceFs and ogExtendFs
Do not return the subprocess result for ogReduceFs/ogExtendFs. ogReduceFs works with or without the target filesystem mounted. ogExtendFs requires the target filesystem to be mounted. 'ogMount' legacy script invocation should be replaced by a better mount/umount wrapper.
Diffstat (limited to 'src/live')
-rw-r--r--src/live/ogOperations.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index ed06540..cf93ed4 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -359,8 +359,7 @@ class OgLiveOperations:
logging.info(f'partclone process exited with code {p1.returncode}')
logging.info(f'lzop process exited with code {p2.returncode}')
- if ogExtendFs(disk, partition) != 0:
- logging.warn('Error extending filesystem after image creation')
+ ogExtendFs(disk, partition)
image_info = ogGetImageInfo(image_path)
except: