summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2019-11-18 13:54:32 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2019-11-18 14:07:12 +0900
commit67ed5442127e5baf2a7caba7a112c9639feecee3 (patch)
tree584f9fbeb5fffb10afbece0caa47dd077a67408c /gnu/system
parentc09903acae89983931f7c9bc2b60653228288f05 (diff)
downloadpatches-67ed5442127e5baf2a7caba7a112c9639feecee3.tar
patches-67ed5442127e5baf2a7caba7a112c9639feecee3.tar.gz
vm: Honor the VOLATILE? parameter when producing a system disk image.
* gnu/system/vm.scm (system-disk-image): Honor the VOLATILE? parameter instead of hard coding its value to #t. Reported-by: Jelle Licht <jlicht@fsfe.org>
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/vm.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index ac6e4ded92..3fa9fd4ba5 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -678,7 +678,7 @@ to USB sticks meant to be read-only."
(initrd (lambda (file-systems . rest)
(apply (operating-system-initrd os)
file-systems
- #:volatile-root? #t
+ #:volatile-root? volatile?
rest)))
(bootloader (if (string=? "iso9660" file-system-type)