summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--doc/contributing.texi10
2 files changed, 12 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
666channel_intro_signer = BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA 666channel_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.
669GUIX_GIT_KEYRING = origin/keyring
669authenticate: 670authenticate:
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
diff --git a/doc/contributing.texi b/doc/contributing.texi
index 26a46274647..d3f6325c3f9 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -140,6 +140,16 @@ make authenticate
140 140
141The first run takes a couple of minutes, but subsequent runs are faster. 141The first run takes a couple of minutes, but subsequent runs are faster.
142 142
143Or, when your configuration for your local Git repository doesn't match
144the default one, you can provide the reference for the @code{keyring}
145branch through the variable @code{GUIX_GIT_KEYRING}. The following
146example assumes that you have a Git remote called @samp{myremote}
147pointing to the official repository:
148
149@example
150make authenticate GUIX_GIT_KEYRING=myremote/keyring
151@end example
152
143@quotation Note 153@quotation Note
144You are advised to run @command{make authenticate} after every 154You are advised to run @command{make authenticate} after every
145@command{git pull} invocation. This ensures you keep receiving valid 155@command{git pull} invocation. This ensures you keep receiving valid