guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: image: Enhance compatibility of the root ext4 par


From: guix-commits
Subject: branch master updated: image: Enhance compatibility of the root ext4 partition.
Date: Mon, 26 Dec 2022 22:48:02 -0500

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 60d4652c5d image: Enhance compatibility of the root ext4 partition.
60d4652c5d is described below

commit 60d4652c5d33dd81ed05afd708e6a127584d59cd
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Dec 9 00:27:39 2022 -0500

    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.
---
 gnu/system/image.scm | 3 +++
 1 file changed, 3 insertions(+)

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))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]