summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-05-06 18:51:57 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-05-06 18:51:57 +0200
commit2dd51059956ee7c9c9deb3ac4ab7b9755a00d25c (patch)
treea9b7d5a3ab82bb306ac74e284c607e853564b43f /src
parentf42e2ba201c33d36a9e528ec2f3f217d02a8184b (diff)
live: force flush to disk after partition table is written
Diffstat (limited to 'src')
-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 86470aa..afb6c67 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -346,6 +346,7 @@ class OgLiveOperations:
cxt.add_partition(pa)
cxt.write_disklabel()
+ os.sync()
for part in partlist:
if part["filesystem"] == 'EMPTY':