Fix home partition device mapper name (#3516)

This commit is contained in:
codefiles 2025-05-28 01:27:07 -04:00 committed by GitHub
parent 7a455cb625
commit df8cb4fb39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -1010,6 +1010,8 @@ class PartitionModification:
@property
def mapper_name(self) -> str | None:
if self.is_home():
return 'home'
if self.dev_path:
return f'{ENC_IDENTIFIER}{self.dev_path.name}'
return None