diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-09-23 13:14:52 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2021-09-23 18:17:17 +0200 |
commit | cd19c920b7bf15af6b8ea06aa5021487d65773a6 (patch) | |
tree | e6c08d4ef6e845b498feb6f34edfcba673f87842 /gnu | |
parent | 90604348e14913da48327da05113d7da8ae7655a (diff) | |
download | guix-cd19c920b7bf15af6b8ea06aa5021487d65773a6.tar.gz |
linux-initrd: Support XFS.
* gnu/system/linux-initrd.scm (file-system-packages): Add xfs_repair/static when needed. (file-system-type-modules): Add ‘xfs’ module when needed.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/system/linux-initrd.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm index dc0f419bfd..a083292fcf 100644 --- a/gnu/system/linux-initrd.scm +++ b/gnu/system/linux-initrd.scm @@ -290,6 +290,9 @@ FILE-SYSTEMS." '()) ,@(if (find (file-system-type-predicate "f2fs") file-systems) (list f2fs-fsck/static) + '()) + ,@(if (find (file-system-type-predicate "xfs") file-systems) + (list xfs_repair/static) '()))) (define-syntax vhash ;TODO: factorize @@ -322,6 +325,7 @@ FILE-SYSTEMS." ("iso9660" => '("isofs")) ("jfs" => '("jfs")) ("f2fs" => '("f2fs" "crc32_generic")) + ("xfs" => '("xfs")) (else '()))) (define (file-system-modules file-systems) |