Skip to content

Commit

Permalink
WIP: image-install: Try to fix paritioning
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Drung <bdrung@posteo.de>
  • Loading branch information
bdrung committed Sep 23, 2023
1 parent 3048035 commit 5efbe9e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install-image
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,11 @@ def main():

# Partitioning
cmd = ["parted", "--script", config["disk"], "mklabel", config["partition_table"]]
check_call(cmd, args.dry_run)
check_call(["sync"], args.dry_run)
check_call(["udevadm", "settle"], args.dry_run)

cmd = ["parted", "--script", config["disk"]]
start = 1048576
partition_number = 1
second_parted_script = []
Expand Down

0 comments on commit 5efbe9e

Please sign in to comment.