From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 13 04:55:01 2018 Received: (at 30604) by debbugs.gnu.org; 13 Mar 2018 08:55:01 +0000 Received: from localhost ([127.0.0.1]:57997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evfhz-0005BM-Mc for submit@debbugs.gnu.org; Tue, 13 Mar 2018 04:55:01 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:58044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evfhx-0005BC-7W for 30604@debbugs.gnu.org; Tue, 13 Mar 2018 04:54:57 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 7A097125B1; Tue, 13 Mar 2018 09:54:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id koZNniL82WHx; Tue, 13 Mar 2018 09:54:55 +0100 (CET) Received: from ribbon (vpn-0-27.aquilenet.fr [IPv6:2a0c:e300:4:27::]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 7BEC712572; Tue, 13 Mar 2018 09:54:55 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Danny Milosavljevic Subject: Re: [bug#30604] [PATCH v10 5/6] linux-initrd: Provide our own 'modprobe' program. 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> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 23 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30604 Cc: 30604@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) 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.