From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42942) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3zPD-0000Vy-Gq for guix-patches@gnu.org; Tue, 18 Feb 2020 04:43:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3zPC-0005Hu-Ft for guix-patches@gnu.org; Tue, 18 Feb 2020 04:43:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33591) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j3zPC-0005Hm-Cl for guix-patches@gnu.org; Tue, 18 Feb 2020 04:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j3zPC-0000EZ-Aw for guix-patches@gnu.org; Tue, 18 Feb 2020 04:43:02 -0500 Subject: [bug#37868] [PATCH v2 1/2] build-system/linux-module: Disable depmod. Resent-Message-ID: From: Danny Milosavljevic Date: Tue, 18 Feb 2020 10:42:06 +0100 Message-Id: <20200218094207.6196-2-dannym@scratchpost.org> In-Reply-To: <20200218094207.6196-1-dannym@scratchpost.org> References: <20191112172048.61ba69eb@scratchpost.org> <20200218094207.6196-1-dannym@scratchpost.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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, ludo@gnu.org, Mark H Weaver Cc: Danny Milosavljevic * guix/build/linux-module-build-system.scm (install): Disable depmod. --- guix/build/linux-module-build-system.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/guix/build/linux-module-build-system.scm b/guix/build/linux-module-build-system.scm index cd76df2de7..525851372e 100644 --- a/guix/build/linux-module-build-system.scm +++ b/guix/build/linux-module-build-system.scm @@ -60,15 +60,14 @@ ;; part. (define* (install #:key inputs native-inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) - (moddir (string-append out "/lib/modules")) - (kmod (assoc-ref (or native-inputs inputs) "kmod"))) + (moddir (string-append out "/lib/modules"))) ;; Install kernel modules (mkdir-p moddir) (invoke "make" "-C" (string-append (assoc-ref inputs "linux-module-builder") "/lib/modules/build") (string-append "M=" (getcwd)) - (string-append "DEPMOD=" kmod "/bin/depmod") + "DEPMOD=true" ; disable depmod. (string-append "MODULE_DIR=" moddir) (string-append "INSTALL_PATH=" out) (string-append "INSTALL_MOD_PATH=" out)