Batch archinstall 4.2 regression
This commit is contained in:
1 parent
b341fa6eea
commit
c43841c827
1 file changed
+6
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user