mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
system: Do not check initrd modules for pseudo file systems.
Reported by hako on #guix. * gnu/machine/ssh.scm (machine-check-initrd-modules): Filter out pseudo file systems from 'file-systems'. * guix/scripts/system.scm (check-initrd-modules): Likewise.
This commit is contained in:
parent
782ef67a59
commit
5652c2e147
2 changed files with 9 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2019 Jakob L. Kreuze <zerodaysfordays@sdf.org>
|
||||
;;; Copyright © 2020-2022 Ludovic Courtès <ludo@gnu.org>
|
||||
;;; Copyright © 2020-2023 Ludovic Courtès <ludo@gnu.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -291,7 +291,10 @@ (define (machine-check-initrd-modules machine)
|
|||
if any of the modules needed by 'needed-for-boot' file systems in MACHINE are
|
||||
not available in the initrd."
|
||||
(define file-systems
|
||||
(filter file-system-needed-for-boot?
|
||||
(filter (lambda (file-system)
|
||||
(and (file-system-needed-for-boot? file-system)
|
||||
(not (member (file-system-type file-system)
|
||||
%pseudo-file-system-types))))
|
||||
(operating-system-file-systems (machine-operating-system machine))))
|
||||
|
||||
(define (missing-modules fs)
|
||||
|
|
|
@ -686,7 +686,10 @@ (define (file-system-/dev fs)
|
|||
(find-partition-by-label (file-system-label->string device))))))
|
||||
|
||||
(define file-systems
|
||||
(filter file-system-needed-for-boot?
|
||||
(filter (lambda (file-system)
|
||||
(and (file-system-needed-for-boot? file-system)
|
||||
(not (member (file-system-type file-system)
|
||||
%pseudo-file-system-types))))
|
||||
(operating-system-file-systems os)))
|
||||
|
||||
(for-each (lambda (fs)
|
||||
|
|
Loading…
Reference in a new issue