diff --git a/configs/airootfs/root/.automated_script.sh b/configs/airootfs/root/.automated_script.sh index e2dc0d4..6aa93a7 100644 --- a/configs/airootfs/root/.automated_script.sh +++ b/configs/airootfs/root/.automated_script.sh @@ -80,6 +80,12 @@ install_base_system() { # Ensure that no mounts exist from past install attempts findmnt -R /mnt >/dev/null && umount -R /mnt + # Workaround for archinstall 4.2 regression in sync_log_to_install_medium: + # `self.target / absolute_logfile` drops self.target because the RHS is + # absolute, so Python 3.14 Path.copy() raises EINVAL (source == target). + sed -i 's|logfile_target = self\.target / absolute_logfile$|logfile_target = self.target / absolute_logfile.relative_to("/")|' \ + /usr/lib/python3.14/site-packages/archinstall/lib/installer.py + # Install using files generated by the ./configurator # Skip NTP and WKD sync since we're offline (keyring is pre-populated in ISO) archinstall \