GNU bug report logs -
#30604
[PATCH 0/4] Load Linux module only when supported hardware is present.
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Sun, 4 Mar 2018 02:09:14 +0100
Danny Milosavljevic <dannym <at> scratchpost.org> wrote:
> --- a/gnu/system/linux-initrd.scm
> +++ b/gnu/system/linux-initrd.scm
> @@ -161,17 +161,17 @@ the derivations referenced by EXP are automatically copied to the initrd."
> #:references-graphs `(("init-closure" ,init)
> ("modprobe-closure" ,modprobe))))
>
> -(define (flat-linux-module-directory linux modules)
> - "Return a flat directory containing the Linux kernel modules listed in
> -MODULES and taken from LINUX."
> +(define (flat-linux-module-directory linux aliases)
> + "Return a flat directory containing the Linux kernel modules resolved by
> +ALIASES and taken from LINUX."
...
> + (define (find-only-entry directory)
> + (match (scandir directory)
> + (("." ".." basename)
> + (string-append directory "/" basename))))
Probably unsafe since the order is not guaranteed.
[Message part 2 (application/pgp-signature, inline)]
This bug report was last modified 5 years and 305 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.