* [bug#30454] [PATCH] gnu: make-linux-libre: Use invoke.
@ 2018-02-14 8:37 Danny Milosavljevic
2018-02-14 21:41 ` Leo Famulari
0 siblings, 1 reply; 4+ messages in thread
From: Danny Milosavljevic @ 2018-02-14 8:37 UTC (permalink / raw)
To: 30454
* 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")
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#30454] [PATCH] gnu: make-linux-libre: Use invoke.
2018-02-14 8:37 [bug#30454] [PATCH] gnu: make-linux-libre: Use invoke Danny Milosavljevic
@ 2018-02-14 21:41 ` Leo Famulari
2018-02-15 7:40 ` Mark H Weaver
0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2018-02-14 21:41 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: Mark H Weaver, 30454
[-- Attachment #1: Type: text/plain, Size: 297 bytes --]
On Wed, Feb 14, 2018 at 09:37:22AM +0100, Danny Milosavljevic wrote:
> * gnu/packages/linux.scm (make-linux-libre): Use invoke.
Thanks!
This will require rebuilding linux-libre, right? If so, we should push
it along with updates to those packages.
CC-ing Mark, who usually handles linux-libre.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#30454] [PATCH] gnu: make-linux-libre: Use invoke.
2018-02-14 21:41 ` Leo Famulari
@ 2018-02-15 7:40 ` Mark H Weaver
2018-02-18 5:09 ` bug#30454: " Mark H Weaver
0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2018-02-15 7:40 UTC (permalink / raw)
To: Leo Famulari; +Cc: 30454
Leo Famulari <leo@famulari.name> writes:
> On Wed, Feb 14, 2018 at 09:37:22AM +0100, Danny Milosavljevic wrote:
>> * gnu/packages/linux.scm (make-linux-libre): Use invoke.
>
> Thanks!
>
> This will require rebuilding linux-libre, right? If so, we should push
> it along with updates to those packages.
Agreed. I'll try to remember to push Danny's commit the next time I
push kernel updates, which typically happen every few days anyway.
Let's hold off on this until then.
Thanks!
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#30454: [PATCH] gnu: make-linux-libre: Use invoke.
2018-02-15 7:40 ` Mark H Weaver
@ 2018-02-18 5:09 ` Mark H Weaver
0 siblings, 0 replies; 4+ messages in thread
From: Mark H Weaver @ 2018-02-18 5:09 UTC (permalink / raw)
To: Leo Famulari; +Cc: 30454-done
I just pushed Danny's commit to master along with kernel updates, commit
fdd400d82ed83e230331f837aee70e1d504fe58c. I'm marking this as done.
Thanks!
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-02-18 5:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-14 8:37 [bug#30454] [PATCH] gnu: make-linux-libre: Use invoke Danny Milosavljevic
2018-02-14 21:41 ` Leo Famulari
2018-02-15 7:40 ` Mark H Weaver
2018-02-18 5:09 ` bug#30454: " Mark H Weaver
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).