summary refs log tree commit diff
path: root/gnu/image.scm
diff options
context:
space:
mode:
authorAlex Griffin <a@ajgrf.com>2022-02-07 18:37:25 -0600
committerMathieu Othacehe <othacehe@gnu.org>2022-09-24 14:49:09 +0200
commit233cf9f0367e78562f07ac9885ed2cc6defe17e1 (patch)
treec97b3f93c1ad2913d8c589b06401ad75f56055d3 /gnu/image.scm
parent8757c3f2934352fe8ad9a86f6e6f1d4b7245644d (diff)
downloadguix-233cf9f0367e78562f07ac9885ed2cc6defe17e1.tar.gz
system: image: Add wsl2 support.
* gnu/image.scm (<image>)[format]: Add wsl2 support.
* gnu/system/image.scm (wsl2-image, wsl2-image-type): New variables.
(image->root-file-system): Add wsl2 image support.
(system-image): Ditto.
Diffstat (limited to 'gnu/image.scm')
-rw-r--r--gnu/image.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/image.scm b/gnu/image.scm
index b2ef0f60af..523653dd77 100644
--- a/gnu/image.scm
+++ b/gnu/image.scm
@@ -152,7 +152,7 @@ that is not in SET, mentioning FIELD in the error message."
 
 ;; The supported image formats.
 (define-set-sanitizer validate-image-format format
-  (disk-image compressed-qcow2 docker iso9660 tarball))
+  (disk-image compressed-qcow2 docker iso9660 tarball wsl2))
 
 ;; The supported partition table types.
 (define-set-sanitizer validate-partition-table-type partition-table-type