From 254b1c2e95bfbf5af351ebf65d620df04311d4f8 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 22 Jul 2015 23:34:25 +0200 Subject: doc: Suggest unpacking with --warning=no-timestamp. Suggested by Malcolm Cook . * doc/guix.texi (Binary Installation): Suggest --warning=no-timestamp. --- doc/guix.texi | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'doc/guix.texi') 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}: -- cgit v1.2.3