summary refs log tree commit diff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorBruno Victal <mirai@makinata.eu>2023-02-27 16:14:56 +0000
committerChristopher Baines <mail@cbaines.net>2023-03-14 10:36:31 +0000
commitcf111a37f36d28cd54f3b52aa8a8cd02c7206bb9 (patch)
tree08d0fdfbd191671d7e2cfb7d3370d74dbdb03a60 /gnu/packages/linux.scm
parent9baadac2b7bc9ad4b06e24a4e2f6e487dfea6080 (diff)
downloadguix-cf111a37f36d28cd54f3b52aa8a8cd02c7206bb9.tar.gz
gnu: rng-tools: Do not build randstat binary.
This trivial binary is rarely useful.

* gnu/local.mk (dist_patch_DATA): Register patch.
* gnu/packages/patches/rng-tools-revert-build-randstat.patch: New file.
* gnu/packages/linux.scm (rng-tools)[origin]: Add patch.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 1046424c19..e369305652 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -6683,7 +6683,10 @@ The collection contains a set of bandwidth and latency benchmark such as:
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0i00if7xknpm0dhkrm60rxzyyvq0vdibq7dvsd2ncm9pg098qvwj"))))
+                "0i00if7xknpm0dhkrm60rxzyyvq0vdibq7dvsd2ncm9pg098qvwj"))
+              (patches
+               (search-patches "rng-tools-revert-build-randstat.patch"))
+              (patch-flags '("-p0"))))
     (build-system gnu-build-system)
     (arguments
      (list