guix-install.sh: Don't authorise hydra.gnu.org.

* etc/guix-install.sh (sys_authorize_build_farms): Authorise only
ci.guix.gnu.org and make all references to it singular.
This commit is contained in:
Tobias Geerinckx-Rice 2019-06-28 16:13:44 +02:00
parent a3efe269b5
commit 414c4de15d
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 5 deletions

View File

@ -362,13 +362,11 @@ sys_enable_guix_daemon()
} }
sys_authorize_build_farms() sys_authorize_build_farms()
{ # authorize the public keys of the two build farms { # authorize the public key of the build farm
while true; do while true; do
read -p "Permit downloading pre-built package binaries from the project's build farms? (yes/no) " yn read -p "Permit downloading pre-built package binaries from the project's build farm? (yes/no) " yn
case $yn in case $yn in
[Yy]*) guix archive --authorize < "${ROOT_HOME}/.config/guix/current/share/guix/hydra.gnu.org.pub" && [Yy]*) guix archive --authorize < "${ROOT_HOME}/.config/guix/current/share/guix/ci.guix.gnu.org.pub" &&
_msg "${PAS}Authorized public key for hydra.gnu.org";
guix archive --authorize < "${ROOT_HOME}/.config/guix/current/share/guix/ci.guix.gnu.org.pub" &&
_msg "${PAS}Authorized public key for ci.guix.gnu.org"; _msg "${PAS}Authorized public key for ci.guix.gnu.org";
break;; break;;
[Nn]*) _msg "${INF}Skipped authorizing build farm public keys" [Nn]*) _msg "${INF}Skipped authorizing build farm public keys"