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
parent
90604348e1
commit
cd19c920b7
|
@ -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)
|
||||
|
|
Reference in New Issue