summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-07-22 23:34:25 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-22 23:47:35 +0200
commit254b1c2e95bfbf5af351ebf65d620df04311d4f8 (patch)
tree2c41e4c7af0659b031a154a562c778f60e95b2ef
parentfa1fdb8dfe39c5ee1821cdb0b8bb70e2b23aa7ab (diff)
downloadpatches-254b1c2e95bfbf5af351ebf65d620df04311d4f8.tar
patches-254b1c2e95bfbf5af351ebf65d620df04311d4f8.tar.gz
doc: Suggest unpacking with --warning=no-timestamp.
Suggested by Malcolm Cook <MEC@stowers.org>. * doc/guix.texi (Binary Installation): Suggest --warning=no-timestamp.
-rw-r--r--doc/guix.texi17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 09c7faf254..b4003d875b 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -300,7 +300,8 @@ As @code{root}, run:
@example
# cd /tmp
-# tar xf guix-binary-@value{VERSION}.@var{system}.tar.xz
+# tar --warning=no-timestamp -xf \
+ guix-binary-@value{VERSION}.@var{system}.tar.xz
# mv var/guix /var/ && mv gnu /
@end example
@@ -308,15 +309,17 @@ This creates @file{/gnu/store} (@pxref{The Store}) and @file{/var/guix}.
The latter contains a ready-to-use profile for @code{root} (see next
step.)
-Some versions of GNU@tie{}tar raise a warning about ``implausibly old
-time stamps''. This is because all the files in the archive have their
-modification time set to zero (which means January 1st, 1970.) This is
-done on purpose to make sure the archive content is independent of its
-creation time, thus making it reproducible.
-
Do @emph{not} unpack the tarball on a working Guix system since that
would overwrite its own essential files.
+The @code{--warning=no-timestamp} option makes sure GNU@tie{}tar does
+not emit warnings about ``implausibly old time stamps''. These
+warnings, sometimes enabled by default, stem from the fact that all the
+files in the archive have their modification time set to zero (which
+means January 1st, 1970.) This is done on purpose to make sure the
+archive content is independent of its creation time, thus making it
+reproducible.
+
@item
Make @code{root}'s profile available under @file{~/.guix-profile}: