summary refs log tree commit diff
path: root/gnu/system
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-11-11 23:48:12 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2020-11-17 15:20:03 -0500
commit41f27bf8702838f19b1dc5ffee8eec1d4315d4e6 (patch)
tree2122f9c5136e8aa94b0f3288c09baca96d51c366 /gnu/system
parentac96f2c8369c13dd7d27878ad9426fcda140ef3a (diff)
downloadguix-41f27bf8702838f19b1dc5ffee8eec1d4315d4e6.tar.gz
guix: system: Make disk-image root file system non-volatile by default.
And add a new '--volatile' option to have it volatile otherwise.

* guix/scripts/system.scm (%options)[volatile-root?]: New boolean option.
(%default-options): Set its default value to #f.
(show-help): Add help doc.
* guix/scripts/system.scm (perform-action): Propagate option...
(system-derivation-for-action): ...here.  Use it to set the volatile-root?
field of the image object passed to SYSTEM-IMAGE.
* doc/guix.texi (Invoking guix system): Document it.
Diffstat (limited to 'gnu/system')
0 files changed, 0 insertions, 0 deletions