Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/disk
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2023-03-27 13:47:07 +0200
committerGitHub <noreply@github.com>2023-03-27 13:47:07 +0200
commitb2fc71c9e5b3df3658ff12ed9a8f0d3c09a21136 (patch)
tree19052557d1bd0b18549f49e583bd076f56b7ce18 /archinstall/lib/disk
parentfdb1b483308f21be67c544cba3391af3362ab24a (diff)
Added .part_uuid to MapperDev (#1691)
Diffstat (limited to 'archinstall/lib/disk')
-rw-r--r--archinstall/lib/disk/mapperdev.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/archinstall/lib/disk/mapperdev.py b/archinstall/lib/disk/mapperdev.py
index 71ef2a79..bf1b3583 100644
--- a/archinstall/lib/disk/mapperdev.py
+++ b/archinstall/lib/disk/mapperdev.py
@@ -25,6 +25,10 @@ class MapperDev:
return f"/dev/mapper/{self.mappername}"
@property
+ def part_uuid(self):
+ return self.partition.part_uuid
+
+ @property
def partition(self):
from .helpers import uevent, get_parent_of_partition
from .partition import Partition