Skip to content

Commit

Permalink
Fix inadequate solution
Browse files Browse the repository at this point in the history
  • Loading branch information
codefiles committed Sep 20, 2023
1 parent ee6a33f commit 7e747e1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions archinstall/lib/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
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
Expand Down Expand Up @@ -937,9 +935,7 @@ def _add_limine_bootloader(
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"
Expand Down

0 comments on commit 7e747e1

Please sign in to comment.