Skip to content

allow setting boot partition#187

Merged
guysoft merged 1 commit intoguysoft:develfrom
bwalex:custom-boot-partition
Jan 12, 2023
Merged

allow setting boot partition#187
guysoft merged 1 commit intoguysoft:develfrom
bwalex:custom-boot-partition

Conversation

@bwalex
Copy link
Contributor

@bwalex bwalex commented Dec 13, 2022

This change allows setting a custom boot partition instead of relying on the current heuristic of either assuming it's the same as the root, or is partition 1. For example, rockpi images come with a GPT partition table where boot is partition 4 and root is 5.

The order of arguments to mount_image is a bit weird now, but it keeps maximum backwards compatibility.

@guysoft
Copy link
Owner

guysoft commented Jan 12, 2023

Hey just got to this now, thanks!
Also I have no rockpi to validate this works, so I hope it does not brake anything for anyone

@guysoft guysoft merged commit 4b055c0 into guysoft:devel Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants