Subject: Re: [bug#30604] [PATCH v10 5/6] linux-initrd: Provide our own 'modprobe' program.

From: Danny Milosavljevic <[email-masked]>
Date: Mon, 12 Mar 2018 22:12:26 +0100

> 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