Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.py
diff options
context:
space:
mode:
authorcodefiles <11915375+codefiles@users.noreply.github.com>2023-09-20 14:49:29 -0400
committerGitHub <noreply@github.com>2023-09-20 20:49:29 +0200
commit3e2999bc2752c76e666d916bdb80608ad74528bf (patch)
treed4482f703e6e7281c93bcc967ad56b26cb220dfb /archinstall/lib/installer.py
parentb1e00687953de168bbc31ea435b2c5bdc7c61e39 (diff)
Fix acquisition of UUID (#2077)
* Fix acquisition of UUID * Fix inadequate solution * Add check for UUID
Diffstat (limited to 'archinstall/lib/installer.py')
-rw-r--r--archinstall/lib/installer.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 2eb63279..cd6f651d 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -8,8 +8,6 @@ import time
from pathlib import Path
from typing import Any, List, Optional, TYPE_CHECKING, Union, Dict, Callable
-from ..lib.disk.device_model import get_lsblk_info
-
from . import disk
from .exceptions import DiskError, ServiceException, RequirementError, HardwareIncompatibilityError, SysCallError
from .general import SysCommand
@@ -937,9 +935,7 @@ class Installer:
self.pacman.strap('limine')
info(f"Limine boot partition: {boot_partition.dev_path}")
- # XXX: We cannot use `root_partition.uuid` since corresponds to the UUID of the root
- # partition before the format.
- root_uuid = get_lsblk_info(root_partition.safe_dev_path).uuid
+ root_uuid = root_partition.uuid
def create_pacman_hook(contents: str):
HOOK_DIR = "/etc/pacman.d/hooks"