index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/lib/networking.py | 11 |
diff --git a/archinstall/lib/networking.py b/archinstall/lib/networking.py index 96e8f3a1..5a60886f 100644 --- a/archinstall/lib/networking.py +++ b/archinstall/lib/networking.py @@ -54,6 +54,17 @@ def update_keyring() -> bool: return False +# TODO: this should be a function maybe upstream taking a parameter.. copy pasting for now.. +def update_keyring32() -> bool: + log("Updating archlinux32-keyring ...", level=logging.INFO) + if run_pacman("-Sy --noconfirm archlinux32-keyring").exit_code == 0: + return True + + elif os.geteuid() != 0: + log("update_keyring32() uses 'pacman -Sy archlinux32-keyring' which requires root.", level=logging.ERROR, fg="red") + + return False + def enrich_iface_types(interfaces: Union[Dict[str, Any], List[str]]) -> Dict[str, str]: result = {} |