guix-patches
[Top][All Lists]
Advanced

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

[bug#30604] [PATCH v7 3/6] linux-boot: Load kernel modules only when the


From: Danny Milosavljevic
Subject: [bug#30604] [PATCH v7 3/6] linux-boot: Load kernel modules only when the hardware is present.
Date: Fri, 2 Mar 2018 17:47:11 +0100

> +  (define (load-kernel-modules)
> +    "Examine /sys/devices to find out which modules to load and load them."
> +    (define enter?
> +      (const #t))
> +    (define (down! path stat result)
> +     ;; Note: modprobe mutates the tree starting with path.
> +     (let ((modalias-name (string-append path "/modalias")))

I should rename "path" to "directory".






reply via email to

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