From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evUkj-0002IB-5D for guix-patches@gnu.org; Mon, 12 Mar 2018 17:13:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evUkg-0004jd-14 for guix-patches@gnu.org; Mon, 12 Mar 2018 17:13:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49674) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evUkf-0004jQ-Tp for guix-patches@gnu.org; Mon, 12 Mar 2018 17:13:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1evUkf-0003jz-OG for guix-patches@gnu.org; Mon, 12 Mar 2018 17:13:01 -0400 Subject: [bug#30604] [PATCH v10 5/6] linux-initrd: Provide our own 'modprobe' program. Resent-Message-ID: Date: Mon, 12 Mar 2018 22:12:26 +0100 From: Danny Milosavljevic Message-ID: <20180312221226.72eb6cb7@scratchpost.org> In-Reply-To: <20180312210936.7f89a29c@scratchpost.org> References: <87ina1qxic.fsf@gnu.org> <20180312123918.22645-1-ludo@gnu.org> <20180312123918.22645-5-ludo@gnu.org> <20180312210936.7f89a29c@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/yqyUpe/VHoXpAgll993hj+C"; protocol="application/pgp-signature" 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30604@debbugs.gnu.org --Sig_/yqyUpe/VHoXpAgll993hj+C Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > 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 booting= is dead slow. [Maybe in this case that wouldn't be so bad - since boot-sys= tem switches away immediately anyway :)] to gnu/build/linux-initrd.scm --Sig_/yqyUpe/VHoXpAgll993hj+C Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlqm7ToACgkQ5xo1VCww uqXvXgf/SnwfDNtEZL1XSdFOuX/41Dp/eKf3g0roct+Yxfv1fjvliPoGPFfttKv+ Zx+vSHS1R//outrcrcXifpJJaNpsASsol1HxtuoPtzQ7nLXDIZKB4bG9aZYeVW1H OnWOKL1Si9ozts4KJxfBSyovFyDqIs/J85BrSaYhsCI5qkpH3pmKx03bTuPPOlXH kI5S5j4977ATl5IXiUdZ0Y2+QOun98k+a5XM4ujlfaID+gu+9PrEp4R9bg6V1nGZ M3efWovUJeewL+nk4gB1pLx3bo5ISLeoqdq1Bso2HzYkfmZtiI5Ke5+k37zPpOg1 tfBGWBNxzKJLnS40yu6tbFDweZ/1sg== =5MQy -----END PGP SIGNATURE----- --Sig_/yqyUpe/VHoXpAgll993hj+C--