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:
authorAnton Hvornum <anton@hvornum.se>2022-05-27 21:44:47 +0200
committerAnton Hvornum <anton@hvornum.se>2022-05-27 21:44:47 +0200
commit4d57630c90ca6bf400df55f03eb8a4c6b9ed9ca7 (patch)
tree7adba5b56402bbb4bbb02fe99b23fea4a0f9892d /archinstall/lib/installer.py
parent3c04a6b19612cf79367a17a6d389479a3f3d6711 (diff)
Removed usage of deprecated function
Diffstat (limited to 'archinstall/lib/installer.py')
-rw-r--r--archinstall/lib/installer.py4
1 files 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).")