diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-11-05 22:06:24 +0100 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2020-12-06 16:11:43 +0100 |
| commit | 10defc57bf342d9f093c6a84ec1c3c818057c27d (patch) | |
| tree | e3aaf9e3c18651d2f4e5b307d5454f451daacce8 /gnu/system | |
| parent | 23be018d4fe1150ca81efb3572cd695a9044b80d (diff) | |
linux-initrd: Add bcachefs support.
* gnu/system/linux-initrd.scm (file-system-packages): Add
bcachefs-tools/static.
(file-system-type-modules): Add an entry for the "bcachefs" type and
module.
Diffstat (limited to 'gnu/system')
| -rw-r--r-- | gnu/system/linux-initrd.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm index 85e493fecb9..4fb1d863c9d 100644 --- a/gnu/system/linux-initrd.scm +++ b/gnu/system/linux-initrd.scm | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;;; Copyright © 2016 Mark H Weaver <mhw@netris.org> | 3 | ;;; Copyright © 2016 Mark H Weaver <mhw@netris.org> |
| 4 | ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org> | 4 | ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org> |
| 5 | ;;; Copyright © 2017, 2019 Mathieu Othacehe <m.othacehe@gmail.com> | 5 | ;;; Copyright © 2017, 2019 Mathieu Othacehe <m.othacehe@gmail.com> |
| 6 | ;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr> | 6 | ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> |
| 7 | ;;; | 7 | ;;; |
| 8 | ;;; This file is part of GNU Guix. | 8 | ;;; This file is part of GNU Guix. |
| 9 | ;;; | 9 | ;;; |
| @@ -260,6 +260,9 @@ FILE-SYSTEMS." | |||
| 260 | file-systems) | 260 | file-systems) |
| 261 | (list fatfsck/static) | 261 | (list fatfsck/static) |
| 262 | '()) | 262 | '()) |
| 263 | ,@(if (find (file-system-type-predicate "bcachefs") file-systems) | ||
| 264 | (list bcachefs-tools/static) | ||
| 265 | '()) | ||
| 263 | ,@(if (find (file-system-type-predicate "btrfs") file-systems) | 266 | ,@(if (find (file-system-type-predicate "btrfs") file-systems) |
| 264 | (list btrfs-progs/static) | 267 | (list btrfs-progs/static) |
| 265 | '()) | 268 | '()) |
| @@ -295,6 +298,7 @@ FILE-SYSTEMS." | |||
| 295 | ;; Given a file system type, return the list of modules it needs. | 298 | ;; Given a file system type, return the list of modules it needs. |
| 296 | (lookup-procedure ("cifs" => '("md4" "ecb" "cifs")) | 299 | (lookup-procedure ("cifs" => '("md4" "ecb" "cifs")) |
| 297 | ("9p" => '("9p" "9pnet_virtio")) | 300 | ("9p" => '("9p" "9pnet_virtio")) |
| 301 | ("bcachefs" => '("bcachefs")) | ||
| 298 | ("btrfs" => '("btrfs")) | 302 | ("btrfs" => '("btrfs")) |
| 299 | ("iso9660" => '("isofs")) | 303 | ("iso9660" => '("isofs")) |
| 300 | ("jfs" => '("jfs")) | 304 | ("jfs" => '("jfs")) |
