mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-15 13:45:54 +02:00
vm: system-qemu-image: Fix type error, remove more actual file systems.
* gnu/system/vm.scm (system-qemu-image)[file-systems-to-keep]: Check whether SOURCE is a string before calling 'string-prefix?'. Remove UUIDs and file system labels as well.
This commit is contained in:
+4
-1
@@ -641,7 +641,10 @@ of the GNU system as described by OS."
|
||||
(let ((target (file-system-mount-point fs))
|
||||
(source (file-system-device fs)))
|
||||
(or (string=? target "/")
|
||||
(string-prefix? "/dev/" source))))
|
||||
(and (string? source)
|
||||
(string-prefix? "/dev/" source))
|
||||
(uuid? source)
|
||||
(file-system-label? source))))
|
||||
(operating-system-file-systems os)))
|
||||
|
||||
(define root-uuid
|
||||
|
||||
Reference in New Issue
Block a user