From 4d57630c90ca6bf400df55f03eb8a4c6b9ed9ca7 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Fri, 27 May 2022 21:44:47 +0200 Subject: Removed usage of deprecated function --- archinstall/lib/installer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 456f02d2..2a7f7457 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -13,7 +13,7 @@ from .disk import get_partitions_in_use, Partition from .general import SysCommand, generate_password from .hardware import has_uefi, is_vm, cpu_vendor from .locale_helpers import verify_keyboard_layout, verify_x11_keyboard_layout -from .disk.helpers import get_mount_info +from .disk.helpers import findmnt from .mirrors import use_mirrors from .plugins import plugins from .storage import storage @@ -327,7 +327,7 @@ class Installer: time.sleep(1) try: - get_mount_info(f"{self.target}{mountpoint}", traverse=False) + findmnt(f"{self.target}{mountpoint}", traverse=False) except DiskError: raise DiskError(f"Target {self.target}{mountpoint} never got mounted properly (unable to get mount information using findmnt).") -- cgit v1.2.3-70-g09d2