summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimoun <zimon.toutoune@gmail.com>2019-11-06 19:35:54 +0100
committerLudovic Courtès <ludo@gnu.org>2019-11-09 23:04:14 +0100
commit0758a70cc008171f31c848128deca9803536fe60 (patch)
tree09c7c57ad1a7099d2f6629a475db6ca5053b0c7f
parent929c365ad02a50a6b612866d7700e01e62e3fdd6 (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--README3
-rw-r--r--doc/contributing.texi3
-rw-r--r--doc/guix.texi5
3 files changed, 7 insertions, 4 deletions
diff --git a/README b/README
index 02d6f7190a7..7121358157f 100644
--- a/README
+++ b/README
@@ -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.
94Then, run @command{./configure} as usual. Make sure to pass 94Then, 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
97Store}, for information about this). 97Store}, for information about this). We recommend to use the value
98@code{/var}.
98 99
99Finally, you have to invoke @code{make check} to run tests 100Finally, 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,
792be sure to specify the same state directory as the existing installation 792be sure to specify the same state directory as the existing installation
793using the @code{--localstatedir} option of the @command{configure} 793using the @code{--localstatedir} option of the @command{configure}
794script (@pxref{Directory Variables, @code{localstatedir},, standards, 794script (@pxref{Directory Variables, @code{localstatedir},, standards,
795GNU Coding Standards}). The @command{configure} script protects against 795GNU Coding Standards}). Usually, this @var{localstatedir} option is
796unintended misconfiguration of @var{localstatedir} so you do not 796set to the value @file{/var}. The @command{configure} script protects
797against unintended misconfiguration of @var{localstatedir} so you do not
797inadvertently corrupt your store (@pxref{The Store}). 798inadvertently corrupt your store (@pxref{The Store}).
798 799
799@node Running the Test Suite 800@node Running the Test Suite