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 <[email protected]>
  • Loading branch information
bdrung committed Dec 18, 2023
1 parent 9e939d2 commit c1507d8
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 c1507d8

Please sign in to comment.