Browse Source

build: file-systems: Do not warn about file system check for NFS.

* gnu/build/file-systems.scm (check-file-system): Define a dummy checker
procedure for NFS that always passes to prevent a warning from being emitted.
gn-latest-20200428
Maxim Cournoyer 2 years ago
parent
commit
85a7466e22
No known key found for this signature in database GPG Key ID: 1260E46482E63562
  1. 2
      gnu/build/file-systems.scm

2
gnu/build/file-systems.scm

@ -5,6 +5,7 @@
;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 David C. Trudgian <dave@trudgian.net>
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -581,6 +582,7 @@ were found."
((string-prefix? "btrfs" type) check-btrfs-file-system)
((string-suffix? "fat" type) check-fat-file-system)
((string-prefix? "jfs" type) check-jfs-file-system)
((string-prefix? "nfs" type) (const 'pass))
(else #f)))
(if check-procedure

Loading…
Cancel
Save