diff options
| author | Miguel Ángel Arruga Vivas <rosen644835@gmail.com> | 2020-10-24 14:35:09 +0200 |
|---|---|---|
| committer | Miguel Ángel Arruga Vivas <rosen644835@gmail.com> | 2020-10-24 17:38:58 +0200 |
| commit | ef6596a20cac24dbfd729098f2a903f00f4e33e2 (patch) | |
| tree | 83b7fdfedb6131e853bfc643b86fe5ee0d534ab3 /Makefile.am | |
| parent | 31c894c652aac27bd0ed8594a4344fd7c2b31e6e (diff) | |
build: Add GUIX_GIT_KEYRING variable for make authenticate.
* Makefile.am (GUIX_GIT_KEYRING): New variable.
(authenticate): Use GUIX_GIT_KEYRING to select the keyring branch
reference.
* doc/contributing.texi (Building from Git): Add an example about the
use of GUIX_GIT_KEYRING.
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index c5095625678..e6cef9ec1a3 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -666,9 +666,11 @@ channel_intro_commit = 9edb3f66fd807b096b48283debdcddccfea34bad | |||
| 666 | channel_intro_signer = BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA | 666 | channel_intro_signer = BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA |
| 667 | 667 | ||
| 668 | # Authenticate the current Git checkout by checking signatures on every commit. | 668 | # Authenticate the current Git checkout by checking signatures on every commit. |
| 669 | GUIX_GIT_KEYRING = origin/keyring | ||
| 669 | authenticate: | 670 | authenticate: |
| 670 | $(AM_V_at)echo "Authenticating Git checkout..." ; \ | 671 | $(AM_V_at)echo "Authenticating Git checkout..." ; \ |
| 671 | guix git authenticate \ | 672 | guix git authenticate \ |
| 673 | --keyring=$(GUIX_GIT_KEYRING) \ | ||
| 672 | --cache-key=channels/guix --stats \ | 674 | --cache-key=channels/guix --stats \ |
| 673 | "$(channel_intro_commit)" "$(channel_intro_signer)" | 675 | "$(channel_intro_commit)" "$(channel_intro_signer)" |
| 674 | 676 | ||
