Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2023-03-26 23:00:52 +0200
committerGitHub <noreply@github.com>2023-03-26 23:00:52 +0200
commitfdb1b483308f21be67c544cba3391af3362ab24a (patch)
treed6533262f3c7cce5fbafb91e42ad317b9ff8b183
parentef5011114d7ecfbfd81d154fc985b1f2d345c3cc (diff)
Removed the archlinux-keyring package update
it should no longer be needed as there's a service populating keys. (#1690)
-rw-r--r--examples/guided.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 0bf30c46..e9240c03 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -287,20 +287,6 @@ if archinstall.arguments.get('skip-mirror-check', False) is False and archinstal
archinstall.log(f"Arch Linux mirrors are not reachable. Please check your internet connection and the log file '{log_file}'.", level=logging.INFO, fg="red")
exit(1)
-if not archinstall.arguments.get('offline'):
- latest_version_archlinux_keyring = max([k.pkg_version for k in archinstall.find_package('archlinux-keyring')])
-
- # 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 \
- archinstall.installed_package('archlinux-keyring').version < latest_version_archlinux_keyring:
-
- # Then we update the keyring in the ISO environment
- if not archinstall.update_keyring():
- log_file = os.path.join(archinstall.storage.get('LOG_PATH', None), archinstall.storage.get('LOG_FILE', None))
- archinstall.log(f"Failed to update the keyring. Please check your internet connection and the log file '{log_file}'.", level=logging.INFO, fg="red")
- exit(1)
-
if not archinstall.arguments.get('silent'):
ask_user_questions()