diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-12-09 00:27:39 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-12-26 22:47:02 -0500 |
commit | 60d4652c5d33dd81ed05afd708e6a127584d59cd (patch) | |
tree | 91e5d122bd9dc872a62c27b9658fd7c9f83c3acb /gnu/system/image.scm | |
parent | 7c476873e0300711bf92668cf01abd28f7295ead (diff) |
image: Enhance compatibility of the root ext4 partition.
Generating a raw-with-offset image would previously not be bootable with
U-Boot.
* gnu/system/image.scm (root-partition) [file-system-options]: New field.
Diffstat (limited to 'gnu/system/image.scm')
-rw-r--r-- | gnu/system/image.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/system/image.scm b/gnu/system/image.scm index d518a05a51..afef79185f 100644 --- a/gnu/system/image.scm +++ b/gnu/system/image.scm @@ -138,6 +138,9 @@ parent image record." (size 'guess) (label root-label) (file-system "ext4") + ;; Disable the metadata_csum and 64bit features of ext4, for compatibility + ;; with U-Boot. + (file-system-options (list "-O" "^metadata_csum,^64bit")) (flags '(boot)) (initializer (gexp initialize-root-partition)))) |