Skip to content

Conversation

@hollowpointer
Copy link
Contributor

@hollowpointer hollowpointer commented Jul 8, 2025

PR Description:

This PR updates the boot partition detection logic to use PartitionFlag.BOOT instead of relying solely on the mountpoint being /boot. This resolves an issue introduced in #3336 where users attempting to mount the ESP to /efi encountered a "Boot partition not found" error during installation.

Tests and Checks

  • I have tested the code!

All 13 tests passed with pytest. I also tested the installation script in three different scenarios and everything worked as expected.

@hollowpointer hollowpointer requested a review from Torxed as a code owner July 8, 2025 14:10
Copy link
Member

@Torxed Torxed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I'll run some tests to verify that the BOOT flag is actually set in all our obscure combination of options.

I appreciate this fix!

Could you merge/rebase so that the changes introduced in #3639 isn't conflicting? :)

@Torxed Torxed enabled auto-merge (squash) July 15, 2025 07:33
@Torxed Torxed disabled auto-merge July 24, 2025 13:08
@Torxed Torxed merged commit ccebb68 into archlinux:master Jul 24, 2025
9 checks passed
@hollowpointer hollowpointer deleted the fix-boot-detection branch July 24, 2025 22:50
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