From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47128) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jDBjX-0005tW-R6 for guix-patches@gnu.org; Sat, 14 Mar 2020 14:42:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jDBjW-00049R-OM for guix-patches@gnu.org; Sat, 14 Mar 2020 14:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56264) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jDBjW-00048P-L7 for guix-patches@gnu.org; Sat, 14 Mar 2020 14:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jDBjW-0000zL-J7 for guix-patches@gnu.org; Sat, 14 Mar 2020 14:42:02 -0400 Subject: [bug#37868] [PATCH v8] system: Add kernel-module-packages to operating-system. Resent-Message-ID: Date: Sat, 14 Mar 2020 19:40:55 +0100 From: Danny Milosavljevic Message-ID: <20200314194055.6d857037@scratchpost.org> In-Reply-To: <20200227155029.2542-1-dannym@scratchpost.org> References: <20200227135146.5701-1-dannym@scratchpost.org> <20200227155029.2542-1-dannym@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/zox=x1jMf6BR8iiZHMx8RyM"; protocol="application/pgp-signature"; micalg=pgp-sha256 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: 37868@debbugs.gnu.org Cc: Mark H Weaver , ludo@gnu.org --Sig_/zox=x1jMf6BR8iiZHMx8RyM Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, I'd like to push the patch to master on tuesday (with some minimal changes to the commit message). The only part I'm still unsure about is: ;; TODO: system, target. (profile-derivation (packages->manifest (cons kernel modules)) #:hooks (list linux-module-database) #:locales? #f #:allow-collisions? #f #:relative-symlinks? #t)) Will Guix do the derivation (especially the invocation of depmod) for the intended system and target? Apparently, module-init-tools are supposed to be cross-platform anyway and = work when invoking depmod for files of an other architecture than the architectu= re depmod is invoked on (and was compiled for). So maybe we can also just ign= ore the entire system/target propagation in this case. To test that, I tried ./pre-inst-env guix build -s armhf-linux -m etc/system-tests.scm and that seems to hang while compiling the kernel (?). I'm confident that that has no connection to the patch because it hangs ear= lier (at "AR drivers/net/built-in.a"). Then I tried ./pre-inst-env guix build --target=3Dxxx -m etc/system-tests.scm and that seems to ignore target entirely. [1] http://lists.busybox.net/pipermail/uclibc/2005-May/032671.html --Sig_/zox=x1jMf6BR8iiZHMx8RyM Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAl5tJTcACgkQ5xo1VCww uqWS7Qf8CFJf3ZADwZD1RnVMVANWMAj7m6ffpB7pdcj9v4hhu9LTsZ8/JWCwX6XU Cvs6uqeZsVWrsrsecTZxS5gM79+ijvay7xwPAqb+p9Slvq3tJEYIatis/5SwCd6Z Wzgv2P9yQRQ2Z180Vjksa0yQDOQGtmao6b8QOkvRVNGGTzZPDX+xsKDYZqFsKrsp yN9KKsRy96W5wdA8x9ov9K4XJj3vhFsj7qm0mnl7eUxHv+UhVRlL7oDRdUPQ9l9Q 93PZF4dinfwYp4S8NW1G+nNwws2jlWeqj2OSIUc/nvMHLUTN7z8OX5ZCN0U8uSWw Kw7pdhXE/Jad3lFBjz5UocA0CVIBdw== =16bD -----END PGP SIGNATURE----- --Sig_/zox=x1jMf6BR8iiZHMx8RyM--