diff options
Diffstat (limited to 'gnu/build/image.scm')
-rw-r--r-- | gnu/build/image.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/build/image.scm b/gnu/build/image.scm index 321be8e4b1..2327cfbb45 100644 --- a/gnu/build/image.scm +++ b/gnu/build/image.scm @@ -83,11 +83,13 @@ turn doesn't take any constant overhead into account, force a 1-MiB minimum." (fs-options (partition-file-system-options partition)) (label (partition-label partition)) (uuid (partition-uuid partition)) - (flags (partition-flags partition)) (journal-options "lazy_itable_init=1,lazy_journal_init=1")) (apply invoke `("fakeroot" "mke2fs" "-t" ,fs "-d" ,root - "-L" ,label "-U" ,(uuid->string uuid) + "-L" ,label + ,@(if uuid + `("-U" ,(uuid->string uuid)) + '()) "-E" ,(format #f "root_owner=~a:~a,~a" owner-uid owner-gid journal-options) ,@fs-options |