summary refs log tree commit diff
path: root/gnu/image.scm
diff options
context:
space:
mode:
authorAlex Griffin <a@ajgrf.com>2022-02-06 16:29:47 -0600
committerMathieu Othacehe <othacehe@gnu.org>2022-09-24 14:49:09 +0200
commit8757c3f2934352fe8ad9a86f6e6f1d4b7245644d (patch)
tree4b958569f1a374f072d8d5b006d407bb2e1a140e /gnu/image.scm
parentebe9d660a55629f2506db124b0e016885fc61e5c (diff)
downloadguix-8757c3f2934352fe8ad9a86f6e6f1d4b7245644d.tar.gz
system: image: Add tarball support.
* gnu/image.scm (<image>)[fields]: Add tarball to the supported formats.
* gnu/system/image.scm (tarball-image, tarball-image-type): New variables.
(system-tarball-image): New procedure.
(image->root-file-system): Add tarball image support.
(system-image): Ditto.
* doc/guix.texi ("System Images"): Document it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
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 68784deb12..b2ef0f60af 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))
+  (disk-image compressed-qcow2 docker iso9660 tarball))
 
 ;; The supported partition table types.
 (define-set-sanitizer validate-partition-table-type partition-table-type