diff options
author | Chris Marusich <cmmarusich@gmail.com> | 2017-04-03 23:49:22 -0700 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-04-06 10:24:32 +0200 |
commit | 5ea69d9a563fa1e2890c94fe9574c7e16f778f3b (patch) | |
tree | 85f1513506778ad6faa978967fb63e4130ead4ca /doc/guix.texi | |
parent | a09b45da6fe951112eb30da5feb0f86266f8ba8a (diff) | |
download | guix-5ea69d9a563fa1e2890c94fe9574c7e16f778f3b.tar guix-5ea69d9a563fa1e2890c94fe9574c7e16f778f3b.tar.gz |
system: Support the --root option in 'guix system'.
Fixes <https://bugs.gnu.org/26271>.
* guix/scripts/system.scm (perform-action): Add #:gc-root parameter and
honor it.
(show-help): Document the --root option.
(%options): Add 'root'.
(process-action): Pass 'root' option to perform-action as #:gc-root.
* doc/guix.texi (Invoking guix system): Document '--root'.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index c29af46ff1..d413ea4a50 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -15238,6 +15238,11 @@ of the given @var{size}. @var{size} may be a number of bytes, or it may include a unit as a suffix (@pxref{Block size, size specifications,, coreutils, GNU Coreutils}). +@item --root=@var{file} +@itemx -r @var{file} +Make @var{file} a symlink to the result, and register it as a garbage +collector root. + @item --on-error=@var{strategy} Apply @var{strategy} when an error occurs when reading @var{file}. @var{strategy} may be one of the following: |