[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30283] [PATCH] etc: Add installation script.
From: |
Ricardo Wurmus |
Subject: |
[bug#30283] [PATCH] etc: Add installation script. |
Date: |
Tue, 30 Jan 2018 03:49:30 +0100 |
User-agent: |
mu4e 1.0-alpha3; emacs 25.3.1 |
Hi Ludo,
> 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?
Done.
>> +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
>
> ?
Okay, I’ve implemented it.
Pushed with commit 6f4e8693e.
Thanks for your comments!
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net