We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4711f7a commit 0aa30c0Copy full SHA for 0aa30c0
1 file changed
archinstall/lib/models/device_model.py
@@ -964,8 +964,12 @@ def is_efi(self) -> bool:
964
def is_boot(self) -> bool:
965
"""
966
Returns True if any of the boot indicator flags are found in self.flags
967
+ or if the partition is mounted on /boot
968
- return any(set(self.flags) & set(self._boot_indicator_flags))
969
+ if self.mountpoint is not None:
970
+ return Path('/boot') == self.mountpoint
971
+ else:
972
+ return any(set(self.flags) & set(self._boot_indicator_flags))
973
974
def is_root(self) -> bool:
975
if self.mountpoint is not None:
0 commit comments