summary refs log tree commit diff
path: root/gnu/system
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-05-26 16:25:25 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-05-26 17:16:42 +0200
commitbd3716f6fee127562935d86ff7f641197366769c (patch)
tree5d3dbf901fa407d28f06f5e30557f99ee0c568da /gnu/system
parent6ac7526e488ad3dd73080d1c00efe2066b1bf0a2 (diff)
downloadguix-bd3716f6fee127562935d86ff7f641197366769c.tar.gz
image: Add partition file-system options support.
* gnu/image.scm (<partition>)[file-system-options]: New field,
(partition-file-system-options): new exported procedure.
* gnu/system/image.scm (partition->gexp): Adapt accordingly.
* gnu/build/image.scm (sexp->partition): Also adapt accordingly,
(make-ext-image): and pass file-system options to mke2fs.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/image.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/system/image.scm b/gnu/system/image.scm
index cb770a17e8..a1214dd20a 100644
--- a/gnu/system/image.scm
+++ b/gnu/system/image.scm
@@ -117,6 +117,7 @@
 'make-partition-image'."
   #~'(#$@(list (partition-size partition))
       #$(partition-file-system partition)
+      #$(partition-file-system-options partition)
       #$(partition-label partition)
       #$(and=> (partition-uuid partition)
                uuid-bytevector)))