index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-04-03 18:34:51 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-04-03 18:34:51 +0200 |
commit | bf4c32e2e00a66ca704021295f7b2c4afe0949da (patch) | |
tree | c2e9d1fff17ab0335946361a032f3e6963c30c73 /archinstall/lib/disk.py | |
parent | cba30b9e26bccaf3679d82a255dfe43c64a38386 (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 4 |
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index 8fbc50b2..10d4ef5a 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -197,9 +197,9 @@ class Partition(): This is more reliable than relying on /dev/disk/by-partuuid as it doesn't seam to be able to detect md raid partitions. """ - lsblk = b''.join(sys_command(f'lsblk -J {self.path}')) + lsblk = b''.join(sys_command(f'lsblk -J -o+PARTUUID {self.path}')) for partition in json.loads(lsblk.decode('UTF-8'))['blockdevices']: - return partition['partuuid'] + return partition.get('partuuid', None) @property def encrypted(self): |