gnu: thermald: Update to 1.7.1.

* gnu/packages/admin.scm (thermald): Update to 1.7.1.
[arguments]: Substitute INVOKE for SYSTEM* and end phase with #t.
This commit is contained in:
Tobias Geerinckx-Rice 2018-02-26 21:47:20 +01:00
parent 63f931cf82
commit 4f3506a48a
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 5 additions and 3 deletions

View File

@ -2373,7 +2373,7 @@ make it a perfect utility on modern distros.")
(define-public thermald (define-public thermald
(package (package
(name "thermald") (name "thermald")
(version "1.6") (version "1.7.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -2381,7 +2381,7 @@ make it a perfect utility on modern distros.")
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (base32 (sha256 (base32
"14klz9fnvi9jdlaqwrp61xa5nh051n8ykrs1fh1wxd7j66qf2fn6")))) "0isgmav3z3nb5bsdya8m3haqhzj1lyfjx7i812cqfjrh2a9msin4"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
@ -2389,6 +2389,7 @@ make it a perfect utility on modern distros.")
'unpack 'autogen.sh-and-fix-paths 'unpack 'autogen.sh-and-fix-paths
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))) (let ((out (assoc-ref outputs "out")))
;; XXX this can probably be removed after version 1.7.1.
;; upstartconfir is hardcoded to /etc/init and the build ;; upstartconfir is hardcoded to /etc/init and the build
;; system tries to mkdir that. We don't even need upstart ;; system tries to mkdir that. We don't even need upstart
;; files at all; this is a fast and kludgy workaround ;; files at all; this is a fast and kludgy workaround
@ -2397,7 +2398,8 @@ make it a perfect utility on modern distros.")
(string-append "upstartconfdir = " (string-append "upstartconfdir = "
out "/etc/init"))) out "/etc/init")))
;; Now run autogen ;; Now run autogen
(zero? (system* "sh" "autogen.sh")))))) (invoke "sh" "autogen.sh")
#t))))
#:configure-flags #:configure-flags
(let ((out (assoc-ref %outputs "out"))) (let ((out (assoc-ref %outputs "out")))
(list (string-append "--sysconfdir=" (list (string-append "--sysconfdir="