[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30283] [PATCH] etc: Add installation script.
From: |
Ludovic Courtès |
Subject: |
[bug#30283] [PATCH] etc: Add installation script. |
Date: |
Mon, 29 Jan 2018 15:21:43 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello!
Ricardo Wurmus <address@hidden> skribis:
> * etc/guix-install.sh: New file.
> * Makefile.am (EXTRA_DIST): Add it.
>
> Co-authored-by: sharlatan <address@hidden>
Looks really cool! We’d need a bit of documentation though, under
“Binary Installation” maybe?
> +sys_authorize_build_farms()
> +{ # authorize the public keys of the two build farms
> + _msg "${INF}Authorizing build farm public keys"
> + guix archive --authorize <
> ~root/.guix-profile/share/guix/hydra.gnu.org.pub &&
> + _msg "${PAS}Authorized hydra.gnu.org"
> + guix archive --authorize <
> ~root/.guix-profile/share/guix/berlin.guixsd.org.pub &&
> + _msg "${PAS}Authorized berlin.guixsd.org"
> +}
Would it make sense to ask for confirmation? Like:
echo "Do you want to authorize binaries from the project's build farms?"
echo "If you answer yes, Guix will download pre-built package binaries from
them."
echo "If you answer no, Guix will build software from source."
read -r ANSWER
case "$ANSWER"
…
esac
?
Otherwise LGTM, thanks!
Ludo’.