aboutsummaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-06-27 00:06:46 +0200
committerLudovic Courtès <ludo@gnu.org>2014-06-27 00:12:40 +0200
commitb25937e318f0cfc43a4dded2fd9dca759bfc4ea1 (patch)
tree18c9d1af798e7a8ad96ab8fad3462d47deb9a83e /doc/guix.texi
parentf01efec09a1eaa5308493eee830e827caf494eb4 (diff)
downloadpatches-b25937e318f0cfc43a4dded2fd9dca759bfc4ea1.tar
patches-b25937e318f0cfc43a4dded2fd9dca759bfc4ea1.tar.gz
guix system: Add 'reconfigure' action.
* guix/scripts/system.scm (%system-profile): New variable. (switch-to-system, previous-grub-entries): New procedures. (unless-file-not-found): New macro. (show-help): Add 'reconfigure'. (guix-system): Handle it. * gnu/system.scm: Export 'operating-system-activation-script'. * doc/guix.texi (Invoking guix system): Document it.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 446c688679..76a812f23c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -3210,6 +3210,18 @@ operating system is instantiate. Currently the following values are
supported:
@table @code
+@item reconfigure
+Build the operating system described in @var{file}, activate it, and
+switch to it@footnote{This action is usable only on systems already
+running GNU.}.
+
+This effects all the configuration specified in @var{file}: user
+accounts, system services, global package list, setuid programs, etc.
+
+It also adds a GRUB menu entry for the new OS configuration, and moves
+entries for older configurations to a submenu---unless
+@option{--no-grub} is passed.
+
@item build
Build the operating system's derivation, which includes all the
configuration files and programs needed to boot and run the system.