doc: Suggest unpacking with --warning=no-timestamp.

Suggested by Malcolm Cook <MEC@stowers.org>.

* doc/guix.texi (Binary Installation): Suggest --warning=no-timestamp.
master
Ludovic Courtès 2015-07-22 23:34:25 +02:00
parent fa1fdb8dfe
commit 254b1c2e95
1 changed files with 10 additions and 7 deletions

View File

@ -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}: