From patchwork Wed Feb 5 22:04:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Morgan Arnold X-Patchwork-Id: 38321 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3831C27BBEA; Thu, 6 Feb 2025 13:07:46 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 75D9727BBE2 for ; Thu, 6 Feb 2025 13:07:45 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tg1b6-0003dy-IJ; Thu, 06 Feb 2025 08:07:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tftdP-0003Gx-Kt for guix-patches@gnu.org; Wed, 05 Feb 2025 23:37:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tftdP-00051W-9o for guix-patches@gnu.org; Wed, 05 Feb 2025 23:37:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:In-Reply-To:References:Subject; bh=T5+n7cCFVwVs2kinEpH80E3D/sf0YyEOojW1Ok+bS8o=; b=ahqV82ietWrmgAVx8Ax1vwtjdJTPWe4Odz3kZCJ7V62jQzGp2Nxk1ICpZLCpF8rb5LnYn99OV7jdEuxzSCPbSMOBKZa7w2VzY0IAKi4Qgo1eTWCFOKnxjEcgH/kATuMD4u39M2F+krUXwHt0ho5xq3+gIr6n4aQysJEdh6auwYXAkJm/e/VZa7oNzHveGwZmWPKwU9vehTiBb2fN0MDiGwhIZSYBtivfaKubb5t5K9vXpR+x9IKhz20xRCrkq1G9li6TA0UvJsryghBf2qtZRiSDV4XfIb3loBoxnQoBMrou1iQN4DQWRd1qyMpQrkGX8YwWW6zfdZVuro50BBzLZw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tftdP-00065C-2n for guix-patches@gnu.org; Wed, 05 Feb 2025 23:37:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#55231] [PATCH 1/2] Allows copying of out-of-tree modules to the Linux initrd. References: <87wnf3pv87.fsf@ditto.jhoto.spork.org> In-Reply-To: <87wnf3pv87.fsf@ditto.jhoto.spork.org> Resent-From: Morgan Arnold Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Feb 2025 04:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55231 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55231@debbugs.gnu.org Cc: Brian Cully Received: via spool by 55231-submit@debbugs.gnu.org id=B55231.173881660223320 (code B ref 55231); Thu, 06 Feb 2025 04:37:03 +0000 Received: (at 55231) by debbugs.gnu.org; 6 Feb 2025 04:36:42 +0000 Received: from localhost ([127.0.0.1]:53690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tftd3-00063x-FV for submit@debbugs.gnu.org; Wed, 05 Feb 2025 23:36:42 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:27497) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfnVx-0003uf-T8 for 55231@debbugs.gnu.org; Wed, 05 Feb 2025 17:05:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1738793090; x=1739052290; bh=T5+n7cCFVwVs2kinEpH80E3D/sf0YyEOojW1Ok+bS8o=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=XzV6nHbTLghPx/mfxy7VLv9ZJR7xl2P5lYuO2hhUaSO/xwpyxBFKoNmXk4dsPnnQq RVXI+84LQGyMl4kaK0f6WiYJZPH9op0PaBfchgYD8SeQLMQJq/2pnvT7Nbrew7cifH 9nlhqwoTbjkCsda+q9Hdb9yegdhnGXT9eVml1Jh7du7UKvyvtoPiBTIGS/ZrFPnBF/ Wzg5HMhvbk+Gvd4qeqMeBqX9Ql6ma8W1da9ZN5YJ39Pq0ZnX38rTFLyF3Ec3grXEQ4 uks2I92iLKX8SX94+r6c9dNFb1QXw6fDadj6w4KrXnS9r0pzSIUTXmPomL7T2FAzOm GQfceIMjkNBjg== Date: Wed, 05 Feb 2025 22:04:45 +0000 Message-ID: <20250205220421.23774-1-morgan.arnold@proton.me> Feedback-ID: 45510636:user:proton X-Pm-Message-ID: 594d41db1254c6ce5393ad04113f7677276d3321 MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 05 Feb 2025 23:36:35 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 06 Feb 2025 08:07:04 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Morgan Arnold X-ACL-Warn: , Morgan Arnold via Guix-patches X-Patchwork-Original-From: Morgan Arnold via Guix-patches via From: Morgan Arnold Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Brian Cully With this patch, modules for ‘initrd-modules’ will not only be searched for in the in-tree Linux modules, but also any additional modules specified in ‘kernel-loadable-modules’. * gnu/build/linux-modules.scm (find-module-file): change DIRECTORY argument to DIRECTORIES. Now takes a list of directories to search, rather than a single one. * gnu/system/linux-initrd.scm (flat-linux-module-directory): change LINUX argument to PACKAGES. Now contains a list of file-likes to search for modules. (raw-initrd): Add LINUX-EXTRA-MODULE-DIRECTORIES keyword argument. Pass it to (flat-linux-module-directory) along with the selected LINUX package. (base-initrd): Add LINUX-EXTRA-MODULE-DIRECTORIES keyword argument. Pass it to (raw-initrd). * gnu/system.scm (operating-system-initrd-file): pass in operating system definition's kernel-loadable-modules into (make-initrd) as LINUX-EXTRA-MODULE-DIRECTORIES. --- gnu/build/linux-modules.scm | 19 ++++++++------ gnu/system.scm | 2 ++ gnu/system/linux-initrd.scm | 50 ++++++++++++++++++++++++------------- 3 files changed, 45 insertions(+), 26 deletions(-) diff --git a/gnu/build/linux-modules.scm b/gnu/build/linux-modules.scm index 32baf6c525..b47bce9ab2 100644 --- a/gnu/build/linux-modules.scm +++ b/gnu/build/linux-modules.scm @@ -246,8 +246,8 @@ (define (file-name->module-name file) '.ko[.gz|.xz|.zst]' and normalizing it." (normalize-module-name (strip-extension (basename file)))) -(define (find-module-file directory module) - "Lookup module NAME under DIRECTORY, and return its absolute file name. +(define (find-module-file directories module) + "Lookup module NAME under DIRECTORIES, and return its absolute file name. NAME can be a file name with or without '.ko', or it can be a module name. Raise an error if it could not be found. @@ -268,16 +268,19 @@ (define names (else chr))) module)))) - (match (find-files directory - (lambda (file stat) - (member (strip-extension - (basename file)) names))) + (match (append-map (lambda (directory) + (find-files directory + (lambda (file _stat) + (member (strip-extension + (basename file)) + names)))) + directories) ((file) file) (() - (error "kernel module not found" module directory)) + (error "kernel module not found" module directories)) ((_ ...) - (error "several modules by that name" module directory)))) + (error "several modules by that name" module directories)))) (define* (recursive-module-dependencies files #:key (lookup-module dot-ko)) diff --git a/gnu/system.scm b/gnu/system.scm index 8df871f255..1921b60c25 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -1373,6 +1373,8 @@ (define make-initrd #:linux (operating-system-kernel os) #:linux-modules (operating-system-initrd-modules os) + #:linux-extra-module-directories + (operating-system-kernel-loadable-modules os) #:mapped-devices mapped-devices #:keyboard-layout (operating-system-keyboard-layout os))) diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm index dc08edc791..dab40dfe22 100644 --- a/gnu/system/linux-initrd.scm +++ b/gnu/system/linux-initrd.scm @@ -120,13 +120,20 @@ (define builder `(#:references-graphs (("closure" ,init)))) "/initrd.cpio.gz")) -(define (flat-linux-module-directory linux modules) +(define (flat-linux-module-directory packages modules) "Return a flat directory containing the Linux kernel modules listed in -MODULES and taken from LINUX." +MODULES and taken from PACKAGES." (define imported-modules (source-module-closure '((gnu build linux-modules) (guix build utils)))) + (define package-inputs + (map (lambda (p) + (match p + ((p o) (gexp-input p o)) + (p (gexp-input p "out")))) + packages)) + (define build-exp (with-imported-modules imported-modules (with-extensions (list guile-zlib guile-zstd) @@ -138,8 +145,9 @@ (define build-exp (srfi srfi-26) (ice-9 match)) - (define module-dir - (string-append #$linux "/lib/modules")) + (define module-dirs + (map (cut string-append <> "/lib/modules") + '#$package-inputs)) (define builtin-modules (match (find-files module-dir (lambda (file stat) @@ -157,7 +165,7 @@ (define modules-to-lookup (lset-difference string=? '#$modules builtin-modules)) (define modules - (let* ((lookup (cut find-module-file module-dir <>)) + (let* ((lookup (cut find-module-file module-dirs <>)) (modules (map lookup modules-to-lookup))) (append modules (recursive-module-dependencies @@ -192,6 +200,7 @@ (define* (raw-initrd file-systems #:key (linux linux-libre) (linux-modules '()) + (linux-extra-module-directories '()) (pre-mount #t) (mapped-devices '()) (keyboard-layout #f) @@ -199,15 +208,16 @@ (define* (raw-initrd file-systems qemu-networking? volatile-root? (on-error 'debug)) - "Return as a file-like object a raw initrd, with kernel -modules taken from LINUX. FILE-SYSTEMS is a list of file-systems to be -mounted by the initrd, possibly in addition to the root file system specified -on the kernel command line via 'root'. LINUX-MODULES is a list of kernel -modules to be loaded at boot time. MAPPED-DEVICES is a list of device -mappings to realize before FILE-SYSTEMS are mounted. PRE-MOUNT is a -G-expression to evaluate before realizing MAPPED-DEVICES. -HELPER-PACKAGES is a list of packages to be copied in the initrd. It may include -e2fsck/static or other packages needed by the initrd to check root partition. + "Return as a file-like object a raw initrd, with kernel modules taken from +LINUX. FILE-SYSTEMS is a list of file-systems to be mounted by the initrd, +possibly in addition to the root file system specified on the kernel command +line via 'root'. LINUX-MODULES is a list of kernel modules to be loaded at +boot time. LINUX-EXTRA-MODULE-DIRECTORIES is a list of file-like objects which +will be searched for modules in addition to the linux kernel. MAPPED-DEVICES +is a list of device mappings to realize before FILE-SYSTEMS are mounted. +HELPER-PACKAGES is a list of packages to be copied in the initrd. It may +include e2fsck/static or other packages needed by the initrd to check root +partition. When true, KEYBOARD-LAYOUT is a record denoting the desired console keyboard layout. This is done before MAPPED-DEVICES are set up and @@ -243,7 +253,8 @@ (define file-system-scan-commands #~()))) (define kodir - (flat-linux-module-directory linux linux-modules)) + (flat-linux-module-directory (cons linux linux-extra-module-directories) + linux-modules)) (expression->initrd (with-imported-modules (source-module-closure @@ -390,6 +401,7 @@ (define* (base-initrd file-systems #:key (linux linux-libre) (linux-modules '()) + (linux-extra-module-directories '()) (mapped-devices '()) (keyboard-layout #f) qemu-networking? @@ -410,9 +422,10 @@ (define* (base-initrd file-systems QEMU-NETWORKING? and VOLATILE-ROOT? behaves as in raw-initrd. The initrd is automatically populated with all the kernel modules necessary -for FILE-SYSTEMS and for the given options. Additional kernel -modules can be listed in LINUX-MODULES. They will be added to the initrd, and -loaded at boot time in the order in which they appear." +for FILE-SYSTEMS and for the given options. Additional kernel modules can be +listed in LINUX-MODULES. Additional directories for modules can be listed in +LINUX-EXTRA-MODULE-DIRECTORIES. They will be added to the initrd, and loaded +at boot time in the order in which they appear." (define linux-modules* ;; Modules added to the initrd and loaded from the initrd. `(,@linux-modules @@ -432,6 +445,7 @@ (define helper-packages (raw-initrd file-systems #:linux linux #:linux-modules linux-modules* + #:linux-extra-module-directories linux-extra-module-directories #:mapped-devices mapped-devices #:helper-packages helper-packages #:keyboard-layout keyboard-layout From patchwork Wed Feb 5 22:04:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Morgan Arnold X-Patchwork-Id: 38320 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DE40927BBEA; Thu, 6 Feb 2025 13:07:25 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 74C4B27BBE2 for ; Thu, 6 Feb 2025 13:07:25 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tg1b3-0003dz-Gj; Thu, 06 Feb 2025 08:07:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tftdQ-0003Gz-4Y for guix-patches@gnu.org; Wed, 05 Feb 2025 23:37:06 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tftdP-00051g-Qz for guix-patches@gnu.org; Wed, 05 Feb 2025 23:37:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=3XV8qODv28OwrscffCvUjTztc605e5acrs1bplnwSYM=; b=GtV9/92VhqFDzfa/n8n/MjcKgz2QR7xCyQnVuTO9XZI0UexhpU3fn4VUyvpQovcveQ6eXSY31/WsiT/pHLwRmmnvjQP5QLkrPI98zFXOGWssL1jtroPtEo8ArePMRJRndPjEn1HJg8X/lvLJX91yc8zVrXlUAfoBlslO/njXXdPg6JPIZWRCV8XLZ/mF+laBbBpXIKrk7KaLG66KAAD99KyQqphFeI3SurQOEPtLrBYVlgTRNKeNcd2Opvsd7+YzZWo+eOT8iPFiMUv0OmD6GSJFECqm+DndYuwk2avYpTsu5HQw480hofEeJrYlfmIJBtO4+wDxdyotgESbdQFUMA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tftdP-00065K-Jf for guix-patches@gnu.org; Wed, 05 Feb 2025 23:37:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#55231] [PATCH 2/2] doc: =?utf-8?b?4oCYaW5pdHJkLW1vZHVsZXPigJk=?= will search =?utf-8?b?4oCYa2VybmVsLWxvYWRhYmxlLW1vZHVsZXPigJku?= Resent-From: Morgan Arnold Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 Feb 2025 04:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55231 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55231@debbugs.gnu.org Cc: Brian Cully Received: via spool by 55231-submit@debbugs.gnu.org id=B55231.173881660323328 (code B ref 55231); Thu, 06 Feb 2025 04:37:03 +0000 Received: (at 55231) by debbugs.gnu.org; 6 Feb 2025 04:36:43 +0000 Received: from localhost ([127.0.0.1]:53692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tftd4-000645-Lh for submit@debbugs.gnu.org; Wed, 05 Feb 2025 23:36:43 -0500 Received: from mail-40134.protonmail.ch ([185.70.40.134]:26275) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfnW9-0003vj-DC for 55231@debbugs.gnu.org; Wed, 05 Feb 2025 17:05:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=pj7athgoqbgqfgcicpl5udjcly.protonmail; t=1738793102; x=1739052302; bh=3XV8qODv28OwrscffCvUjTztc605e5acrs1bplnwSYM=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=QW8kD3Ca8xn4RY/Id4Ec0HoBfyYlF2lKeiemuIoBQbpNCJS7+z5rhGPGnr4clyY3C VNcVncyPMls4zCgulh6a4a2AHHBp0wPdBkcBkmYq86Xpaxx0nn59PVGVfy7V9MKUa1 F8+354vtRPXtdIxkEg5DE7zFKVrWkKgjaJ9SayShKIeqW0oVgB5+gw4WKJP0o3qFXw +p5iTWHYOmIHjn4bYH9eX0urN+RB/N3fxtT4pSs4xBd5ch/M6/88C/phnbtEQvjWfO Ft98xzgVcULUJOkT3HDG+SZ19l0nl0bCjNYqLcIDlAYoij0wOdC8aD7YGWJt75F+aU r+YaCE1XT9Csg== Date: Wed, 05 Feb 2025 22:04:58 +0000 Message-ID: <20250205220421.23774-2-morgan.arnold@proton.me> In-Reply-To: <20250205220421.23774-1-morgan.arnold@proton.me> References: <20250205220421.23774-1-morgan.arnold@proton.me> Feedback-ID: 45510636:user:proton X-Pm-Message-ID: f53493df4f8e6e485ee7dd2c778ce19861a9fc85 MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 05 Feb 2025 23:36:35 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 06 Feb 2025 08:07:06 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Morgan Arnold X-ACL-Warn: , Morgan Arnold via Guix-patches X-Patchwork-Original-From: Morgan Arnold via Guix-patches via From: Morgan Arnold Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Brian Cully --- doc/guix.texi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index bb5f29277f..2ca8bbda51 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -43252,6 +43252,21 @@ file system, you would write: (initrd-modules (cons "megaraid_sas" %base-initrd-modules))) @end lisp +If a module listed in @code{initrd-modules} is not included in the +Linux-libre kernel, then the location to it must be added to the +@code{kernel-loadable-modules} list. + +For example, if you need the driver for a Realtek RTL8821CE wireless +network adapter for mounting the root filesystem over NFS, your +configuration might include the following: + +@lisp +(operating-system + ;; @dots{} + (initrd-modules (cons "8821ce" %base-initrd-modules)) + (kernel-loadable-modules (list (list rtl8821ce-linux-module "module")))) +@end lisp + @defvar %base-initrd-modules This is the list of kernel modules included in the initrd by default. @end defvar