From ccebb6882ed6f78472996ba46777f73d4ea79368 Mon Sep 17 00:00:00 2001 From: VENOIRE <56608344+VENOIRE@users.noreply.github.com> Date: Thu, 24 Jul 2025 16:11:18 +0200 Subject: [PATCH] Fix boot detection to use PartitionFlag.BOOT instead of mountpoint (#3659) Co-authored-by: VENOIRE Co-authored-by: Torxed --- archinstall/lib/models/device.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/archinstall/lib/models/device.py b/archinstall/lib/models/device.py index ef1b88db..35ef9b4a 100644 --- a/archinstall/lib/models/device.py +++ b/archinstall/lib/models/device.py @@ -967,9 +967,7 @@ class PartitionModification: return PartitionFlag.ESP in self.flags def is_boot(self) -> bool: - if self.mountpoint is not None: - return self.mountpoint == Path('/boot') - return False + return PartitionFlag.BOOT in self.flags def is_root(self) -> bool: if self.mountpoint is not None: