Message ID | 20221214021752.23011-1-maxim.cournoyer@gmail.com |
---|---|
State | New |
Headers | show |
Series | [bug#60057] image: Enhance compatibility of the root ext4 partition. | expand |
Hello Maxim, > + ;; 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)))) ext4 man page states that ^64bit will prevent images larger than 2^32 blocks but I highly doubt that we will generate someday images that big. I think you can go ahead! Mathieu
Hi Mathieu! Mathieu Othacehe <othacehe@gnu.org> writes: > Hello Maxim, > >> + ;; 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)))) > > ext4 man page states that ^64bit will prevent images larger than 2^32 > blocks but I highly doubt that we will generate someday images that big. > > I think you can go ahead! OK! Pushed as 60d4652c5d. Thank you!
diff --git a/gnu/system/image.scm b/gnu/system/image.scm index f07a4a5217..2bf4559501 100644 --- a/gnu/system/image.scm +++ b/gnu/system/image.scm @@ -138,6 +138,9 @@ (define root-partition (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))))