Skip to content
Snippets Groups Projects
Unverified Commit 91c5784b authored by Casey's avatar Casey :recycle:
Browse files

postmarketos-initramfs: refactor find_root/boot_partition


These functions are almost identical and follow the same logic.
Introduce a generic find_partition function which they can both call
into so we can abstract the logic away from the specific usage and make
everything much cleaner.

Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
Part-of: postmarketOS/pmaports!6172
parent 02442241
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment