index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | examples/guided.py | 8 |
diff --git a/examples/guided.py b/examples/guided.py index eba78a1a..a23c0011 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -286,6 +286,14 @@ if archinstall.arguments.get('skip-mirror-check', False) is False and archinstal if not archinstall.arguments.get('offline'): latest_version_archlinux_keyring = max([k.pkg_version for k in archinstall.find_package('archlinux-keyring')]) + # For now always update for now, we don't have the coresponding package search API + if archinstall.arguments.get('skip-keyring-update', False) is False: + # Then we update the keyring in the ISO environment + if not archinstall.update_keyring32(): + log_file = os.path.join(archinstall.storage.get('LOG_PATH', None), archinstall.storage.get('LOG_FILE', None)) + archinstall.log(f"Failed to update the Arch32 keyring. Please check your internet connection and the log file '{log_file}'.", level=logging.INFO, fg="red") + exit(1) + # If we want to check for keyring updates # and the installed package version is lower than the upstream version if archinstall.arguments.get('skip-keyring-update', False) is False and \ |