From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eGN+AHIXA1+eCwAA0tVLHw (envelope-from ) for ; Mon, 06 Jul 2020 12:22:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oIPqN3EXA1/ndwAA1q6Kng (envelope-from ) for ; Mon, 06 Jul 2020 12:22:09 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 47A54940429 for ; Mon, 6 Jul 2020 12:22:09 +0000 (UTC) Received: from localhost ([::1]:48030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsQ8M-00039O-ME for larch@yhetil.org; Mon, 06 Jul 2020 08:22:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsQ8I-00039F-IQ for guix-patches@gnu.org; Mon, 06 Jul 2020 08:22:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jsQ8I-00011s-81 for guix-patches@gnu.org; Mon, 06 Jul 2020 08:22:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jsQ8I-0004lI-5g for guix-patches@gnu.org; Mon, 06 Jul 2020 08:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42123] [PATCH] linux-libre: Enable module compression. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Jul 2020 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42123 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 42123@debbugs.gnu.org Received: via spool by 42123-submit@debbugs.gnu.org id=B42123.159403807218245 (code B ref 42123); Mon, 06 Jul 2020 12:22:02 +0000 Received: (at 42123) by debbugs.gnu.org; 6 Jul 2020 12:21:12 +0000 Received: from localhost ([127.0.0.1]:33721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsQ7U-0004kD-JJ for submit@debbugs.gnu.org; Mon, 06 Jul 2020 08:21:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsQ7P-0004jw-Kr for 42123@debbugs.gnu.org; Mon, 06 Jul 2020 08:21:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53479) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsQ7K-0000yP-CH for 42123@debbugs.gnu.org; Mon, 06 Jul 2020 08:21:02 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=50986 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jsQ7J-0000TH-88; Mon, 06 Jul 2020 08:21:01 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200629142434.21308-1-othacehe@gnu.org> <87366atdve.fsf@gnu.org> <87lfjx6nb9.fsf@gnu.org> Date: Mon, 06 Jul 2020 14:20:58 +0200 In-Reply-To: <87lfjx6nb9.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 06 Jul 2020 10:48:58 +0200") Message-ID: <873664ltqt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: hODpMmMDB1Pq Hello! Mathieu Othacehe skribis: > Adding (guix zlib) as a dependency of (gnu build linux-modules) also > drags (guix config). That's an issue because there are a lot of > derivations including (gnu build linux-modules) without deleting/mocking > (guix config). > > That's for instance the case with "expression->initrd", and it explains > why the installation test is trying to rebuild the initrd. > > I see two solutions here: > > * Delete/mock (guix config) in every derivation including (gnu build > linux-modules) or any other build module that includes it. Not ideal > because there are quite numerous. > > * Do not use (guix zlib) but a raw "gzip -cd" pipe in (gnu build > linux-modules). It works but it way slower. I don=E2=80=99t have other ideas, but both solutions sound good to me. Usi= ng (guix zlib) is slightly more =E2=80=9Celegant=E2=80=9D IMO, but no big deal= . I don=E2=80=99t expect any significant difference from the use of in-process decompression, unless we really have to go and decompress many modules in a row. Thanks, Ludo=E2=80=99.