guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

26/28: linux-initrd: Add support for JFS.


From: guix-commits
Subject: 26/28: linux-initrd: Add support for JFS.
Date: Fri, 3 Jan 2020 07:54:47 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit c7b5cfb014243528f481e8bb95b7a58de17d0772
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Dec 31 01:37:23 2019 +0100

    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.
---
 gnu/system/linux-initrd.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm
index 0efb8fb..dcc9b6b 100644
--- a/gnu/system/linux-initrd.scm
+++ b/gnu/system/linux-initrd.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2016 Mark H Weaver <address@hidden>
 ;;; Copyright © 2016 Jan Nieuwenhuizen <address@hidden>
 ;;; Copyright © 2017, 2019 Mathieu Othacehe <address@hidden>
+;;; Copyright © 2019 Tobias Geerinckx-Rice <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -30,6 +31,7 @@
   #: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 @@ FILE-SYSTEMS."
           '())
     ,@(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 @@ FILE-SYSTEMS."
                     ("9p" => '("9p" "9pnet_virtio"))
                     ("btrfs" => '("btrfs"))
                     ("iso9660" => '("isofs"))
+                    ("jfs" => '("jfs"))
                     (else '())))
 
 (define (file-system-modules file-systems)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]