From 67ed5442127e5baf2a7caba7a112c9639feecee3 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 18 Nov 2019 13:54:32 +0900 Subject: 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 --- gnu/system/vm.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/system/vm.scm') 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) -- cgit v1.2.3