From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evfi9-0006DR-N7 for guix-patches@gnu.org; Tue, 13 Mar 2018 04:55:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evfi4-00034U-5P for guix-patches@gnu.org; Tue, 13 Mar 2018 04:55:09 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50100) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evfi4-000342-2a for guix-patches@gnu.org; Tue, 13 Mar 2018 04:55:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1evfi2-0005Bf-3L for guix-patches@gnu.org; Tue, 13 Mar 2018 04:55:03 -0400 Subject: [bug#30604] [PATCH v10 5/6] linux-initrd: Provide our own 'modprobe' program. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87ina1qxic.fsf@gnu.org> <20180312123918.22645-1-ludo@gnu.org> <20180312123918.22645-5-ludo@gnu.org> <20180312210936.7f89a29c@scratchpost.org> <20180312221226.72eb6cb7@scratchpost.org> Date: Tue, 13 Mar 2018 09:54:55 +0100 In-Reply-To: <20180312221226.72eb6cb7@scratchpost.org> (Danny Milosavljevic's message of "Mon, 12 Mar 2018 22:12:26 +0100") Message-ID: <87bmfsfj8g.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 30604@debbugs.gnu.org Danny Milosavljevic 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=20 > > ;; 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 booti= ng is dead slow. [Maybe in this case that wouldn't be so bad - since boot-s= ystem switches away immediately anyway :)] > > to gnu/build/linux-initrd.scm Yeah, done. Ideally =E2=80=98program-file=E2=80=99 would take care of this= . Future work! Ludo=E2=80=99.