guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] linux-initrd: Make platform-specific linux modules optional


From: Ludovic Courtès
Subject: Re: [PATCH] linux-initrd: Make platform-specific linux modules optional
Date: Thu, 27 Aug 2015 23:16:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Mark H Weaver <address@hidden> skribis:

> I now have GuixSD running well on my MIPS-based Lemote Yeeloong 8101B
> with XFCE, and many of the patches are now ready for submission
> upstream.  Here's the first.

Yaay, awesome!

> Our 'base-initrd' has a hard-coded set of modules to include, some of
> which are only available on Intel platforms.  It does not accept a
> 'system' argument, so it's not clear to me how to parameterize the set
> of modules based on the system.  Since 'base-initrd' is used within OS
> configuration files and thus a part of our API, I was reluctant to add
> 'system' to its argument list.

What about using (%current-system) in the definition of the
‘linux-modules’ variable?  (At that point, it should have the correct
value.)  This would probably be simpler.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]