archinstall_adapter: pass Path (not str) to Installer
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.
This commit is contained in:
1 file changed
+1
-1
@@ -99,7 +99,7 @@ def open_installer(
|
|||||||
if not arch_config.disk_config:
|
if not arch_config.disk_config:
|
||||||
raise RuntimeError("disk_config missing from arch config")
|
raise RuntimeError("disk_config missing from arch config")
|
||||||
with Installer(
|
with Installer(
|
||||||
str(mountpoint),
|
mountpoint,
|
||||||
arch_config.disk_config,
|
arch_config.disk_config,
|
||||||
kernels=arch_config.kernels,
|
kernels=arch_config.kernels,
|
||||||
silent=silent,
|
silent=silent,
|
||||||
|
|||||||
Reference in new issue
Block a user