me
/
guix
Archived
1
0
Fork 0

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.
master
Tobias Geerinckx-Rice 2021-09-23 13:14:52 +02:00
parent 90604348e1
commit cd19c920b7
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 0 deletions

View File

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