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
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
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
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/
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
* 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(-)