mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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.
This commit is contained in:
parent
7c476873e0
commit
60d4652c5d
1 changed files with 3 additions and 0 deletions
|
@ -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))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue