mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
linux-initrd: Add support for JFS.
* gnu/system/linux-initrd.scm (file-system-packages): Add jfs_fsck/static. (file-system-type-modules): Add ‘jfs’ module.
This commit is contained in:
parent
378994459a
commit
c7b5cfb014
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
|
||||
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2017, 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -30,6 +31,7 @@ (define-module (gnu system linux-initrd)
|
|||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages disk)
|
||||
#:use-module (gnu packages linux)
|
||||
#:use-module (gnu packages file-systems)
|
||||
#:use-module (gnu packages guile)
|
||||
#:use-module ((gnu packages xorg)
|
||||
#:select (console-setup xkeyboard-config))
|
||||
|
@ -240,6 +242,9 @@ (define* (file-system-packages file-systems #:key (volatile-root? #f))
|
|||
'())
|
||||
,@(if (find (file-system-type-predicate "btrfs") file-systems)
|
||||
(list btrfs-progs/static)
|
||||
'())
|
||||
,@(if (find (file-system-type-predicate "jfs") file-systems)
|
||||
(list jfs_fsck/static)
|
||||
'())))
|
||||
|
||||
(define-syntax vhash ;TODO: factorize
|
||||
|
@ -269,6 +274,7 @@ (define file-system-type-modules
|
|||
("9p" => '("9p" "9pnet_virtio"))
|
||||
("btrfs" => '("btrfs"))
|
||||
("iso9660" => '("isofs"))
|
||||
("jfs" => '("jfs"))
|
||||
(else '())))
|
||||
|
||||
(define (file-system-modules file-systems)
|
||||
|
|
Loading…
Reference in a new issue