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>
This commit is contained in:
Maxim Cournoyer 2019-11-18 13:54:32 +09:00
parent c09903acae
commit 67ed544212
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

@ -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)