summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-10-03 23:32:03 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-10-04 13:31:34 +0200
commitb4d02219da9c9d758db3d5ec83f45ad0c5b700ff (patch)
treefdf47125802035ab1641e60f0f2ce67d6f38ce27
parent8b5b7478ab474019630551b3c07ef534cf6e2520 (diff)
gnu: criu: Update to 3.16.
* gnu/packages/virtualization.scm (criu): Update to 3.16. [arguments]: Don't explicitly return #t from phases.
-rw-r--r--gnu/packages/virtualization.scm19
1 files changed, 7 insertions, 12 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 4c483663aa..ca922ef410 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1551,14 +1551,14 @@ domains, their live performance and resource utilization statistics.")
(define-public criu
(package
(name "criu")
- (version "3.15")
+ (version "3.16")
(source (origin
(method url-fetch)
(uri (string-append "https://download.openvz.org/criu/criu-"
version ".tar.bz2"))
(sha256
(base32
- "09d0j24x0cyc7wkgi7cnxqgfjk7kbdlm79zxpj8d356sa3rw2z24"))))
+ "13x4s7nms3ckb016d03icdsrw4k6f7i33qz9n84fzhmibm0grj70"))))
(build-system gnu-build-system)
(arguments
`(#:test-target "test"
@@ -1579,8 +1579,7 @@ domains, their live performance and resource utilization statistics.")
(setenv "C_INCLUDE_PATH"
(string-append (assoc-ref inputs "libnl")
"/include/libnl3:"
- (or (getenv "C_INCLUDE_PATH") "")))
- #t))
+ (or (getenv "C_INCLUDE_PATH") "")))))
(add-after 'configure 'fix-documentation
(lambda* (#:key inputs outputs #:allow-other-keys)
(substitute* "Documentation/Makefile"
@@ -1590,8 +1589,7 @@ domains, their live performance and resource utilization statistics.")
(assoc-ref inputs "docbook-xsl") "/xml/xsl/"
,(package-name docbook-xsl) "-"
,(package-version docbook-xsl)
- "/manpages/docbook.xsl")))
- #t))
+ "/manpages/docbook.xsl")))))
(add-after 'unpack 'hardcode-variables
(lambda* (#:key inputs #:allow-other-keys)
;; Hardcode arm version detection
@@ -1603,8 +1601,7 @@ domains, their live performance and resource utilization statistics.")
(substitute* "lib/Makefile"
(("\\$\\(PYTHON\\)")
(string-append (assoc-ref inputs "python")
- "/bin/python")))
- #t))
+ "/bin/python")))))
(add-before 'build 'fix-symlink
(lambda* (#:key inputs #:allow-other-keys)
;; The file 'images/google/protobuf/descriptor.proto' points to
@@ -1614,8 +1611,7 @@ domains, their live performance and resource utilization statistics.")
(source (string-append (assoc-ref inputs "protobuf")
"/include/" file)))
(delete-file target)
- (symlink source target)
- #t)))
+ (symlink source target))))
(add-after 'install 'wrap
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Make sure 'crit' runs with the correct PYTHONPATH.
@@ -1627,8 +1623,7 @@ domains, their live performance and resource utilization statistics.")
"/site-packages:"
(getenv "PYTHONPATH"))))
(wrap-program (string-append out "/bin/crit")
- `("PYTHONPATH" ":" prefix (,path))))
- #t)))))
+ `("PYTHONPATH" ":" prefix (,path)))))))))
(inputs
`(("protobuf" ,protobuf)
("python" ,python-2)