From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [WIP PATCH] linux-initrd: Allow own set of kernel modules. Date: Thu, 28 Jul 2016 15:05:34 +0200 Message-ID: <8737mtj4kh.fsf@gnu.org> References: <20160728104224.10523-1-sleep_walker@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSl0R-0004OG-KI for guix-devel@gnu.org; Thu, 28 Jul 2016 09:05:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bSl0M-0002eM-3F for guix-devel@gnu.org; Thu, 28 Jul 2016 09:05:43 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bSl0L-0002dn-Ve for guix-devel@gnu.org; Thu, 28 Jul 2016 09:05:38 -0400 In-Reply-To: <20160728104224.10523-1-sleep_walker@gnu.org> (=?utf-8?B?IlRv?= =?utf-8?B?bcOhxaEgxIxlY2giJ3M=?= message of "Thu, 28 Jul 2016 12:42:24 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= Cc: guix-devel@gnu.org Tom=C3=A1=C5=A1 =C4=8Cech skribis: > * gnu/system/linux-initrd.scm(base-initrd): Add `linux-modules' > parameter. Rename former `linux-modules' to > `default-linux-modules'. Introduce used-linux-modules to make the code > more readable. > --- > gnu/system/linux-initrd.scm | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm > index bbaa5c0..4934c92 100644 > --- a/gnu/system/linux-initrd.scm > +++ b/gnu/system/linux-initrd.scm > @@ -138,6 +138,7 @@ MODULES and taken from LINUX." > qemu-networking? > (virtio? #t) > volatile-root? > + (linux-modules #f) > (extra-modules '())) > "Return a monadic derivation that builds a generic initrd, with kernel > modules taken from LINUX. FILE-SYSTEMS is a list of file-systems to be It seems to serve the same purpose as #:extra-modules, no? https://www.gnu.org/software/guix/manual/html_node/Initial-RAM-Disk.html Ludo=E2=80=99.