gnu: make-bootstrap: tarball-package: Use invoke instead of system*.
* gnu/packages/make-bootstrap.scm (tarball-package)[arguments]: Use invoke. The builder always returns #t.
This commit is contained in:
parent
1a83e2a286
commit
d1c86620f3
|
@ -632,17 +632,17 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
|
||||||
(mkdir out)
|
(mkdir out)
|
||||||
(set-path-environment-variable "PATH" '("bin") (list tar xz))
|
(set-path-environment-variable "PATH" '("bin") (list tar xz))
|
||||||
(with-directory-excursion input
|
(with-directory-excursion input
|
||||||
(zero? (system* "tar" "cJvf"
|
(invoke "tar" "cJvf"
|
||||||
(string-append out "/"
|
(string-append out "/"
|
||||||
,name "-" ,version
|
,name "-" ,version
|
||||||
"-"
|
"-"
|
||||||
,(or (%current-target-system)
|
,(or (%current-target-system)
|
||||||
(%current-system))
|
(%current-system))
|
||||||
".tar.xz")
|
".tar.xz")
|
||||||
"."
|
"."
|
||||||
;; avoid non-determinism in the archive
|
;; avoid non-determinism in the archive
|
||||||
"--sort=name" "--mtime=@0"
|
"--sort=name" "--mtime=@0"
|
||||||
"--owner=root:0" "--group=root:0"))))))))))
|
"--owner=root:0" "--group=root:0")))))))))
|
||||||
|
|
||||||
(define %bootstrap-binaries-tarball
|
(define %bootstrap-binaries-tarball
|
||||||
;; A tarball with the statically-linked bootstrap binaries.
|
;; A tarball with the statically-linked bootstrap binaries.
|
||||||
|
|
Loading…
Reference in New Issue