Fix root partition device mapper name (#3524)

This commit is contained in:
codefiles 2025-05-28 08:02:00 -04:00 committed by GitHub
parent 426650a3c4
commit 728fee4a7c
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_root():
return 'root'
if self.is_home():
return 'home'
if self.dev_path: