From 34c0a1476603db42e9a3ba7b5c34a63be0716e7a Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Thu, 21 May 2026 20:34:21 -0400 Subject: [PATCH] archinstall_adapter: pass Path (not str) to Installer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit archinstall 4.3's Installer.__init__ types target as Path and uses it directly (self.target / 'boot', etc.). Passing str(mountpoint) makes self.target a str, so every internal path operation raises 'unsupported operand type(s) for /: str and str' — most visibly during set_mirrors, which constructs target / MIRRORLIST.relative_to_root(). Drop the str() cast; pass the Path through as-is. --- .../usr/share/omarchy-iso/orchestrator/archinstall_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/airootfs/usr/share/omarchy-iso/orchestrator/archinstall_adapter.py b/configs/airootfs/usr/share/omarchy-iso/orchestrator/archinstall_adapter.py index 7c94ce9..8d7cc3b 100644 --- a/configs/airootfs/usr/share/omarchy-iso/orchestrator/archinstall_adapter.py +++ b/configs/airootfs/usr/share/omarchy-iso/orchestrator/archinstall_adapter.py @@ -99,7 +99,7 @@ def open_installer( if not arch_config.disk_config: raise RuntimeError("disk_config missing from arch config") with Installer( - str(mountpoint), + mountpoint, arch_config.disk_config, kernels=arch_config.kernels, silent=silent,