Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-07-08 14:51:16 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-08 14:51:16 +0000
commitfdff7cf04ccffcd0f7528a005c7135fc197e02ca (patch)
tree254fd89aeed1e4d75b0a209d1855b238ed325a17 /archinstall
parent61f2e3c04beaf7393739804fa8851821056bc03d (diff)
Using PARTUUID instead of disk UUID
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index dda69495..37deda3e 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -62,7 +62,7 @@ class Installer():
## so we'll use the old manual method until we get that sorted out.
# UUID = simple_command(f"blkid -s PARTUUID -o value /dev/{os.path.basename(args['drive'])}{args['partitions']['2']}").decode('UTF-8').strip()
# entry.write('options root=PARTUUID={UUID} rw intel_pstate=no_hwp\n'.format(UUID=UUID))
- for root, folders, uids in os.walk('/dev/disk/by-uuid'):
+ for root, folders, uids in os.walk('/dev/disk/by-partuuid'):
for uid in uids:
real_path = os.path.realpath(os.path.join(root, uid))
if not os.path.basename(real_path) == os.path.basename(self.partition.path): continue