Re: [WIP PATCH] linux-initrd: Allow own set of kernel modules.

2016-07-30 Thread Alex Kost
Tomáš Čech (2016-07-28 13:42 +0300) wrote: > + (define used-linux-modules > +(if (equal? linux-modules #f) > +default-linux-modules > +linux-modules)) Just a general note about the code. This can simply be: (define used-linux-modules (or linux-modules default-linux-module

Re: [WIP PATCH] linux-initrd: Allow own set of kernel modules.

2016-07-28 Thread Tobias Geerinckx-Rice
Hullo, On 28/07/2016 17:32, Ludovic Courtès wrote: > Tomáš Čech skribis: >> #f --> default-kernel-modules (as it is now) >> '(some extraordinary special modules for other purpose) --> it will use >> this set >> '() --> it will use no module at all (my typical usecase) > > Oh, OK. I had assu

Re: [WIP PATCH] linux-initrd: Allow own set of kernel modules.

2016-07-28 Thread Ludovic Courtès
Tomáš Čech skribis: > On Thu, Jul 28, 2016 at 03:05:34PM +0200, Ludovic Courtès wrote: >>Tomáš Čech 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 mak

Re: [WIP PATCH] linux-initrd: Allow own set of kernel modules.

2016-07-28 Thread Tomáš Čech
On Thu, Jul 28, 2016 at 03:05:34PM +0200, Ludovic Courtès wrote: Tomáš Čech 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/

Re: [WIP PATCH] linux-initrd: Allow own set of kernel modules.

2016-07-28 Thread Ludovic Courtès
Tomáš Čech 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 chan

[WIP PATCH] linux-initrd: Allow own set of kernel modules.

2016-07-28 Thread Tomáš Čech
* 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(-)