diff options
-rw-r--r-- | src/live/ogOperations.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index afb6c67..a43e756 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -348,6 +348,9 @@ class OgLiveOperations: cxt.write_disklabel() os.sync() + ret = subprocess.run(['partprobe', f'/dev/{diskname}']) + logging.info(f'first partprobe /dev/{diskname} reports {ret.returncode}') + for part in partlist: if part["filesystem"] == 'EMPTY': continue @@ -362,7 +365,7 @@ class OgLiveOperations: mkfs(fs, int(disk), partition) ret = subprocess.run(['partprobe', f'/dev/{diskname}']) - logging.info(f'partprobe /dev/{diskname} reports {ret.returncode}') + logging.info(f'second partprobe /dev/{diskname} reports {ret.returncode}') for part in partlist: if part["filesystem"] == 'EMPTY': |