summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-07-08 23:42:35 +0200
committerLudovic Courtès <ludo@gnu.org>2014-07-08 23:42:35 +0200
commitdf2ce34385376ea895580d2a3e9d75e64790919d (patch)
tree70fdb6b6eb2a2683f21dd77d5ec37dc9547e4cbb /doc
parent35dbbbe04c3ee77338b90cb09311c8c0d1cdc909 (diff)
downloadpatches-df2ce34385376ea895580d2a3e9d75e64790919d.tar
patches-df2ce34385376ea895580d2a3e9d75e64790919d.tar.gz
guix system: Add '--system' option.
* guix/scripts/system.scm (switch-to-system): Add #:system parameter; pass it to 'run-with-store'. (%options): Add '--system'. (guix-system): Pass the 'system' option to 'run-with-store', 'package-derivation', and 'switch-to-system' calls. * doc/guix.texi (Invoking guix system): Document '--system' and '--image-size'.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 7930572f27..72fc4b94c2 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -3445,7 +3445,21 @@ using the following command:
@end table
@var{options} can contain any of the common build options provided by
-@command{guix build} (@pxref{Invoking guix build}).
+@command{guix build} (@pxref{Invoking guix build}). In addition,
+@var{options} can contain one of the following:
+
+@table @option
+@item --system=@var{system}
+@itemx -s @var{system}
+Attempt to build for @var{system} instead of the host's system type.
+This works as per @command{guix build} (@pxref{Invoking guix build}).
+
+@item --image-size=@var{size}
+For the @code{vm-image} and @code{disk-image} actions, create an image
+of the given @var{size}. @var{size} may be a number of bytes, or it may
+include a unit as a suffix, such as @code{MiB} for mebibytes and
+@code{GB} for gigabytes.
+@end table
Note that all the actions above, except @code{build} and @code{init},
rely on KVM support in the Linux-Libre kernel. Specifically, the