mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-14 02:50:45 +02:00
system: Add btrfs file system support.
* gnu/build/file-systems.scm (%btrfs-endianness, btrfs-superblock?, read-btrfs-superblock, btrfs-superblock-uuid, btrfs-superblock-volume-name, check-btrfs-file-system): New variables. (%paritition-label-readers, %partition-uuid-readers): Add btrfs readers. * gnu/system/linux-initrd.scm (linux-modules): Add btrfs modules when a btrfs file-system is used. * gnu/tests/install.scm (%btrfs-root-os %btrfs-root-os-source, %btrfs-root-installation-script, %test-btrfs-root-os): New system test. * doc/guix.texi: Adjust accordingly. Fixes <http://bugs.gnu.org/19280>.
This commit is contained in:
parent
f3e44f5cd0
commit
b1a505baf6
4 changed files with 129 additions and 6 deletions
|
@ -197,6 +197,9 @@ loaded at boot time in the order in which they appear."
|
|||
,@(if (find (file-system-type-predicate "vfat") file-systems)
|
||||
'("nls_iso8859-1")
|
||||
'())
|
||||
,@(if (find (file-system-type-predicate "btrfs") file-systems)
|
||||
'("btrfs")
|
||||
'())
|
||||
,@(if volatile-root?
|
||||
'("fuse")
|
||||
'())
|
||||
|
@ -214,6 +217,9 @@ loaded at boot time in the order in which they appear."
|
|||
file-systems)
|
||||
(list fatfsck/static)
|
||||
'())
|
||||
,@(if (find (file-system-type-predicate "btrfs") file-systems)
|
||||
(list btrfs-progs/static)
|
||||
'())
|
||||
,@(if volatile-root?
|
||||
(list unionfs-fuse/static)
|
||||
'())))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue