diff options
author | Marius Bakke <mbakke@fastmail.com> | 2016-11-03 09:58:34 +0000 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2016-12-18 13:18:47 +0100 |
commit | 866872aa712ac6f90720a5a9e970b4a7fdbf922b (patch) | |
tree | eb0afb5565a09fe3ae00fb74c4babdda5ce0c410 /gnu/system/linux-initrd.scm | |
parent | 8a4c98889270c163581231692fef64d9433b101f (diff) | |
download | patches-866872aa712ac6f90720a5a9e970b4a7fdbf922b.tar patches-866872aa712ac6f90720a5a9e970b4a7fdbf922b.tar.gz |
linux-initrd: Support FAT filesystems.
* gnu/system/linux-initrd.scm (base-initrd): When a FAT filesystem is
present: Add fatfsck/static in 'helper-packages'; and add nls_iso8859-1
in 'linux-modules'.
Diffstat (limited to 'gnu/system/linux-initrd.scm')
-rw-r--r-- | gnu/system/linux-initrd.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm index 174239a566..a787072ba7 100644 --- a/gnu/system/linux-initrd.scm +++ b/gnu/system/linux-initrd.scm @@ -29,6 +29,7 @@ #:select (derivation->output-path)) #:use-module (guix modules) #:use-module (gnu packages compression) + #:use-module (gnu packages disk) #:use-module (gnu packages linux) #:use-module (gnu packages guile) #:use-module ((gnu packages make-bootstrap) @@ -193,6 +194,9 @@ loaded at boot time in the order in which they appear." ,@(if (find (file-system-type-predicate "9p") file-systems) virtio-9p-modules '()) + ,@(if (find (file-system-type-predicate "vfat") file-systems) + '("nls_iso8859-1") + '()) ,@(if volatile-root? '("fuse") '()) @@ -205,6 +209,11 @@ loaded at boot time in the order in which they appear." file-systems) (list e2fsck/static) '()) + ,@(if (find (lambda (fs) + (string-suffix? "fat" (file-system-type fs))) + file-systems) + (list fatfsck/static) + '()) ,@(if volatile-root? (list unionfs-fuse/static) '()))) |