~ruther/guix-local

b91d7f0f47cab7bb16ac14486d2e4fee8112c63c — Mark H Weaver 10 years ago b2a5fa5
Revert "doc: Suggest how to preserve /var and /root owner and permissions."

This reverts commit 8c3a5d7059a24e9c6d7bf14be296169cdcf06ad6, which is no
longer needed due to commit b2a5fa594e66b9d929df11fc7a38e4b367a00a5e.
1 files changed, 1 insertions(+), 7 deletions(-)

M doc/guix.texi
M doc/guix.texi => doc/guix.texi +1 -7
@@ 274,18 274,12 @@ As @code{root}, run:

@example
# cd /
# tar --skip-old-files -xf \
      guix-binary-@value{VERSION}.@var{system}.tar.xz
# tar xf guix-binary-@value{VERSION}.@var{system}.tar.xz
@end example

This creates @file{/gnu/store} (@pxref{The Store}), @file{/var/guix},
and @file{/root/.guix-profile}.  @file{/root/.guix-profile} is a
ready-to-use profile for @code{root} where Guix is installed.
@c '--skip-old-files' does the right thing with tar 1.28.  The manual
@c does not clearly document the behavior we describe here, though.
The @code{--skip-old-files} option allows you to make sure the owner and
permissions on @file{/var} and @file{/root} are preserved (@pxref{Option
Summary, @code{--skip-old-files},, tar, GNU tar: an archiver tool}).

Do @emph{not} unpack the tarball on a working Guix system since that
would overwrite its own essential files.