diff options
| author | zimoun <zimon.toutoune@gmail.com> | 2019-11-06 19:35:54 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2019-11-09 23:04:14 +0100 |
| commit | 0758a70cc008171f31c848128deca9803536fe60 (patch) | |
| tree | 09c7c57ad1a7099d2f6629a475db6ca5053b0c7f | |
| parent | 929c365ad02a50a6b612866d7700e01e62e3fdd6 (diff) | |
doc: Mention value /var to localstatedir option.
* README (Installing Guix from Guix): Mention value /var to localstatedir option.
* doc/contributing.texi (Building from Git): Likewise.
* doc/guix.texi (Requirements): Likewise.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| -rw-r--r-- | README | 3 | ||||
| -rw-r--r-- | doc/contributing.texi | 3 | ||||
| -rw-r--r-- | doc/guix.texi | 5 |
3 files changed, 7 insertions, 4 deletions
| @@ -63,7 +63,8 @@ To do so: | |||
| 63 | - Re-run the 'configure' script passing it the option | 63 | - Re-run the 'configure' script passing it the option |
| 64 | '--localstatedir=/somewhere', where '/somewhere' is the 'localstatedir' | 64 | '--localstatedir=/somewhere', where '/somewhere' is the 'localstatedir' |
| 65 | value of the currently installed Guix (failing to do that would lead the | 65 | value of the currently installed Guix (failing to do that would lead the |
| 66 | new Guix to consider the store to be empty!). | 66 | new Guix to consider the store to be empty!). We recommend to use the |
| 67 | value '/var'. | ||
| 67 | 68 | ||
| 68 | - Run "make", "make check", and "make install". | 69 | - Run "make", "make check", and "make install". |
| 69 | 70 | ||
diff --git a/doc/contributing.texi b/doc/contributing.texi index 655c8283e59..ee72b2f94d2 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi | |||
| @@ -94,7 +94,8 @@ more information. | |||
| 94 | Then, run @command{./configure} as usual. Make sure to pass | 94 | Then, run @command{./configure} as usual. Make sure to pass |
| 95 | @code{--localstatedir=@var{directory}} where @var{directory} is the | 95 | @code{--localstatedir=@var{directory}} where @var{directory} is the |
| 96 | @code{localstatedir} value used by your current installation (@pxref{The | 96 | @code{localstatedir} value used by your current installation (@pxref{The |
| 97 | Store}, for information about this). | 97 | Store}, for information about this). We recommend to use the value |
| 98 | @code{/var}. | ||
| 98 | 99 | ||
| 99 | Finally, you have to invoke @code{make check} to run tests | 100 | Finally, you have to invoke @code{make check} to run tests |
| 100 | (@pxref{Running the Test Suite}). If anything | 101 | (@pxref{Running the Test Suite}). If anything |
diff --git a/doc/guix.texi b/doc/guix.texi index 27cb31dde5b..aaad6e376b6 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -792,8 +792,9 @@ When configuring Guix on a system that already has a Guix installation, | |||
| 792 | be sure to specify the same state directory as the existing installation | 792 | be sure to specify the same state directory as the existing installation |
| 793 | using the @code{--localstatedir} option of the @command{configure} | 793 | using the @code{--localstatedir} option of the @command{configure} |
| 794 | script (@pxref{Directory Variables, @code{localstatedir},, standards, | 794 | script (@pxref{Directory Variables, @code{localstatedir},, standards, |
| 795 | GNU Coding Standards}). The @command{configure} script protects against | 795 | GNU Coding Standards}). Usually, this @var{localstatedir} option is |
| 796 | unintended misconfiguration of @var{localstatedir} so you do not | 796 | set to the value @file{/var}. The @command{configure} script protects |
| 797 | against unintended misconfiguration of @var{localstatedir} so you do not | ||
| 797 | inadvertently corrupt your store (@pxref{The Store}). | 798 | inadvertently corrupt your store (@pxref{The Store}). |
| 798 | 799 | ||
| 799 | @node Running the Test Suite | 800 | @node Running the Test Suite |
