From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elsZr-0007XK-Qz for guix-patches@gnu.org; Wed, 14 Feb 2018 03:38:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elsZm-0005TQ-71 for guix-patches@gnu.org; Wed, 14 Feb 2018 03:38:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:34229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1elsZm-0005TL-37 for guix-patches@gnu.org; Wed, 14 Feb 2018 03:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1elsZl-0004qc-Th for guix-patches@gnu.org; Wed, 14 Feb 2018 03:38:01 -0500 Subject: [bug#30454] [PATCH] gnu: make-linux-libre: Use invoke. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elsZJ-0007KH-4V for guix-patches@gnu.org; Wed, 14 Feb 2018 03:37:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elsZE-0005Ay-1z for guix-patches@gnu.org; Wed, 14 Feb 2018 03:37:33 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:44046) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1elsZD-0005AY-Qo for guix-patches@gnu.org; Wed, 14 Feb 2018 03:37:27 -0500 From: Danny Milosavljevic Date: Wed, 14 Feb 2018 09:37:22 +0100 Message-Id: <20180214083722.12245-1-dannym@scratchpost.org> 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: 30454@debbugs.gnu.org * gnu/packages/linux.scm (make-linux-libre): Use invoke. --- gnu/packages/linux.scm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 858f0885c..e01edce9c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -336,7 +336,7 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration." (begin (copy-file config ".config") (chmod ".config" #o666)) - (system* "make" ,defconfig)) + (invoke "make" ,defconfig)) ;; Appending works even when the option wasn't in the ;; file. The last one prevails if duplicated. @@ -345,7 +345,7 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration." (display extra-configuration port) (close-port port)) - (zero? (system* "make" "oldconfig"))))) + (invoke "make" "oldconfig")))) (replace 'install (lambda* (#:key inputs native-inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -360,13 +360,13 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration." (find-files "." "\\.dtb$")) ;; Install kernel modules (mkdir-p moddir) - (zero? (system* "make" - (string-append "DEPMOD=" kmod "/bin/depmod") - (string-append "MODULE_DIR=" moddir) - (string-append "INSTALL_PATH=" out) - (string-append "INSTALL_MOD_PATH=" out) - "INSTALL_MOD_STRIP=1" - "modules_install")))))) + (invoke "make" + (string-append "DEPMOD=" kmod "/bin/depmod") + (string-append "MODULE_DIR=" moddir) + (string-append "INSTALL_PATH=" out) + (string-append "INSTALL_MOD_PATH=" out) + "INSTALL_MOD_STRIP=1" + "modules_install"))))) #:tests? #f)) (home-page "https://www.gnu.org/software/linux-libre/") (synopsis "100% free redistribution of a cleaned Linux kernel")