guix-patches
[Top][All Lists]
Advanced

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

[bug#30604] [PATCH v10 5/6] linux-initrd: Provide our own 'modprobe' pro


From: Ludovic Courtès
Subject: [bug#30604] [PATCH v10 5/6] linux-initrd: Provide our own 'modprobe' program.
Date: Tue, 13 Mar 2018 09:54:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Danny Milosavljevic <address@hidden> skribis:

>> That was why earlier I kept /sbin/modprobe as the name (it's the
>> default Linux uses) and made sure that the file /sbin/modprobe is already
>> in the initrd (as opposed to created by boot-system).
>
> Note: The simplest change would be to keep this patch as-is but add 
>
>     ;; Make sure that Linux can modprobe even before boot-system started up.
>     (when modprobe
>       (mkdir-p "sbin")
>       (symlink modprobe "sbin/modprobe")
>       (compile-to-cache "sbin/modprobe")) ; Note: without this line booting 
> is dead slow. [Maybe in this case that wouldn't be so bad - since boot-system 
> switches away immediately anyway :)]
>
> to gnu/build/linux-initrd.scm

Yeah, done.  Ideally ‘program-file’ would take care of this.  Future
work!

Ludo’.





reply via email to

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