install: Register the hydra.gnu.org key on the installation image.

* gnu/services/base.scm (hydra-key-authorization): New procedure.
  (guix-service): Add #:authorize-hydra-key? parameter; honor it using
  'hydra-key-authorization'.
* gnu/system/install.scm (installation-services): Pass
  #:authorize-hydra-key? #t.
This commit is contained in:
Ludovic Courtès 2014-06-04 16:07:09 +02:00
parent 202adef2ec
commit 2c5c696c39
2 changed files with 38 additions and 4 deletions

View file

@ -77,7 +77,12 @@ You have been warned. Thanks for being so brave.
;; The usual services.
(syslog-service)
(guix-service)
;; The build daemon. Register the hydra.gnu.org key as trusted.
;; This allows the installation process to use substitutes by
;; default.
(guix-service #:authorize-hydra-key? #t)
(nscd-service))))
(define %issue