mirror of
https://github.com/KDE/kde-linux.git
synced 2026-02-14 18:02:43 -05:00
clean up the split partitions
otherwise we end up publishing them
This commit is contained in:
@@ -38,3 +38,7 @@ for index, partition in enumerate(partitions):
|
||||
# Then reassemble them into a new image using those squeezed partition images.
|
||||
open(RAW, "w").close()
|
||||
subprocess.run(["systemd-repart", "--size=auto", "--empty=allow", "--dry-run=no", "--definitions=mkosi.repart-rebuild", "--root", os.getcwd(), RAW], check=True)
|
||||
|
||||
# Clean up the partitions again
|
||||
for partition in partitions:
|
||||
os.remove(f"{partition["name"]}.raw")
|
||||
|
||||
Reference in New Issue
Block a user