live: force flush to disk after partition table is written

master
OpenGnSys Support Team 2024-05-06 18:51:57 +02:00
parent f42e2ba201
commit 2dd5105995
1 changed files with 1 additions and 0 deletions

View File

@ -346,6 +346,7 @@ class OgLiveOperations:
cxt.add_partition(pa)
cxt.write_disklabel()
os.sync()
for part in partlist:
if part["filesystem"] == 'EMPTY':