diff options
Diffstat (limited to 'gnu/packages/linux.scm')
| -rw-r--r-- | gnu/packages/linux.scm | 116 |
1 files changed, 91 insertions, 25 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 83761e59556..fb7c6f2f093 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm | |||
| @@ -57,6 +57,7 @@ | |||
| 57 | ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev> | 57 | ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev> |
| 58 | ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net> | 58 | ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net> |
| 59 | ;;; Copyright © 2021 Josselin Poiret <josselin.poiret@protonmail.ch> | 59 | ;;; Copyright © 2021 Josselin Poiret <josselin.poiret@protonmail.ch> |
| 60 | ;;; Copyright © 2021 Olivier Dion <olivier.dion@polymtl.ca> | ||
| 60 | ;;; | 61 | ;;; |
| 61 | ;;; This file is part of GNU Guix. | 62 | ;;; This file is part of GNU Guix. |
| 62 | ;;; | 63 | ;;; |
| @@ -351,17 +352,17 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS." | |||
| 351 | 352 | ||
| 352 | ;; The current "stable" kernels. That is, the most recently released major | 353 | ;; The current "stable" kernels. That is, the most recently released major |
| 353 | ;; versions that are still supported upstream. | 354 | ;; versions that are still supported upstream. |
| 354 | (define-public linux-libre-5.14-version "5.14.12") | 355 | (define-public linux-libre-5.14-version "5.14.15") |
| 355 | (define-public linux-libre-5.14-gnu-revision "gnu") | 356 | (define-public linux-libre-5.14-gnu-revision "gnu") |
| 356 | (define deblob-scripts-5.14 | 357 | (define deblob-scripts-5.14 |
| 357 | (linux-libre-deblob-scripts | 358 | (linux-libre-deblob-scripts |
| 358 | linux-libre-5.14-version | 359 | linux-libre-5.14-version |
| 359 | linux-libre-5.14-gnu-revision | 360 | linux-libre-5.14-gnu-revision |
| 360 | (base32 "00vv2a51cvw2nx8iazmiy9i4h3jj9gvvpwz9gxp2v1hcmrsxq935") | 361 | (base32 "11zax57brk8bl75q68c71xsdlvslj48wpmrv8rh34sb8wym9n4mc") |
| 361 | (base32 "024rz0bp3n3r5nkwbib7byx10d72c2fh5cw9iv00diyzgnp819g7"))) | 362 | (base32 "024rz0bp3n3r5nkwbib7byx10d72c2fh5cw9iv00diyzgnp819g7"))) |
| 362 | (define-public linux-libre-5.14-pristine-source | 363 | (define-public linux-libre-5.14-pristine-source |
| 363 | (let ((version linux-libre-5.14-version) | 364 | (let ((version linux-libre-5.14-version) |
| 364 | (hash (base32 "0dswxf1qk70lms5lph15i7nz3ybwiia58v8zzrmi71ajviwjc9wd"))) | 365 | (hash (base32 "01m4qw1z7xn3ngsbm1bvcvikqpkjjr9n8585556wkmz9d469mwvl"))) |
| 365 | (make-linux-libre-source version | 366 | (make-linux-libre-source version |
| 366 | (%upstream-linux-source version hash) | 367 | (%upstream-linux-source version hash) |
| 367 | deblob-scripts-5.14))) | 368 | deblob-scripts-5.14))) |
| @@ -369,92 +370,92 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS." | |||
| 369 | ;; The "longterm" kernels — the older releases with long-term upstream support. | 370 | ;; The "longterm" kernels — the older releases with long-term upstream support. |
| 370 | ;; Here are the support timelines: | 371 | ;; Here are the support timelines: |
| 371 | ;; <https://www.kernel.org/category/releases.html> | 372 | ;; <https://www.kernel.org/category/releases.html> |
| 372 | (define-public linux-libre-5.10-version "5.10.73") | 373 | (define-public linux-libre-5.10-version "5.10.76") |
| 373 | (define-public linux-libre-5.10-gnu-revision "gnu1") | 374 | (define-public linux-libre-5.10-gnu-revision "gnu1") |
| 374 | (define deblob-scripts-5.10 | 375 | (define deblob-scripts-5.10 |
| 375 | (linux-libre-deblob-scripts | 376 | (linux-libre-deblob-scripts |
| 376 | linux-libre-5.10-version | 377 | linux-libre-5.10-version |
| 377 | linux-libre-5.10-gnu-revision | 378 | linux-libre-5.10-gnu-revision |
| 378 | (base32 "19d1pdsilq1ycnx1zw3vhf9mwdxbi5nmgzm0g1kj1lkkf1y4i1mv") | 379 | (base32 "1swy3y851jnnmk3hc0khllpsifb98camlwyskpn1dyvjsgjljd8x") |
| 379 | (base32 "024rz0bp3n3r5nkwbib7byx10d72c2fh5cw9iv00diyzgnp819g7"))) | 380 | (base32 "024rz0bp3n3r5nkwbib7byx10d72c2fh5cw9iv00diyzgnp819g7"))) |
| 380 | (define-public linux-libre-5.10-pristine-source | 381 | (define-public linux-libre-5.10-pristine-source |
| 381 | (let ((version linux-libre-5.10-version) | 382 | (let ((version linux-libre-5.10-version) |
| 382 | (hash (base32 "0xhf0g5pra27hnavpy0y3mn05m5hqn5rd3d6fx0a3vr35c1jicpd"))) | 383 | (hash (base32 "140qkvs88b5zh6mxxzpf36z1r8bbvyh3yigripqjz1k236x0j2j8"))) |
| 383 | (make-linux-libre-source version | 384 | (make-linux-libre-source version |
| 384 | (%upstream-linux-source version hash) | 385 | (%upstream-linux-source version hash) |
| 385 | deblob-scripts-5.10))) | 386 | deblob-scripts-5.10))) |
| 386 | 387 | ||
| 387 | (define-public linux-libre-5.4-version "5.4.153") | 388 | (define-public linux-libre-5.4-version "5.4.156") |
| 388 | (define-public linux-libre-5.4-gnu-revision "gnu1") | 389 | (define-public linux-libre-5.4-gnu-revision "gnu1") |
| 389 | (define deblob-scripts-5.4 | 390 | (define deblob-scripts-5.4 |
| 390 | (linux-libre-deblob-scripts | 391 | (linux-libre-deblob-scripts |
| 391 | linux-libre-5.4-version | 392 | linux-libre-5.4-version |
| 392 | linux-libre-5.4-gnu-revision | 393 | linux-libre-5.4-gnu-revision |
| 393 | (base32 "1cdxljvmivdwcy9v9fr5iv0x0d1884pf3876p9nzrly599lz2wnl") | 394 | (base32 "1nlgk8ajb5wl3aa96h9a0pb9j5a5wmrbpk63varn557x1d00r7wj") |
| 394 | (base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p"))) | 395 | (base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p"))) |
| 395 | (define-public linux-libre-5.4-pristine-source | 396 | (define-public linux-libre-5.4-pristine-source |
| 396 | (let ((version linux-libre-5.4-version) | 397 | (let ((version linux-libre-5.4-version) |
| 397 | (hash (base32 "0jaz57sd51xqc7w8k3f43bfc5mdsh1413mdngqqsgr8isv4hg7vd"))) | 398 | (hash (base32 "1zkpqfhrc5n0yiij3jzvzywgabva53c8668f1ly1pkrzcbj77zh6"))) |
| 398 | (make-linux-libre-source version | 399 | (make-linux-libre-source version |
| 399 | (%upstream-linux-source version hash) | 400 | (%upstream-linux-source version hash) |
| 400 | deblob-scripts-5.4))) | 401 | deblob-scripts-5.4))) |
| 401 | 402 | ||
| 402 | (define-public linux-libre-4.19-version "4.19.211") | 403 | (define-public linux-libre-4.19-version "4.19.214") |
| 403 | (define-public linux-libre-4.19-gnu-revision "gnu1") | 404 | (define-public linux-libre-4.19-gnu-revision "gnu1") |
| 404 | (define deblob-scripts-4.19 | 405 | (define deblob-scripts-4.19 |
| 405 | (linux-libre-deblob-scripts | 406 | (linux-libre-deblob-scripts |
| 406 | linux-libre-4.19-version | 407 | linux-libre-4.19-version |
| 407 | linux-libre-4.19-gnu-revision | 408 | linux-libre-4.19-gnu-revision |
| 408 | (base32 "1hiaagdyfy6b0f9ivdy7zq0cd6akaj6v3c4nzikrgsk12vgc1a1q") | 409 | (base32 "06pqv050bkii0hc2v7ymny5264w1bca8db0dp1pw9mfmjg865am5") |
| 409 | (base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p"))) | 410 | (base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p"))) |
| 410 | (define-public linux-libre-4.19-pristine-source | 411 | (define-public linux-libre-4.19-pristine-source |
| 411 | (let ((version linux-libre-4.19-version) | 412 | (let ((version linux-libre-4.19-version) |
| 412 | (hash (base32 "1m3y5gsf5s8bb4jxkri20dlxi8aiqabzaijj2h1svz4r19ca8j7v"))) | 413 | (hash (base32 "0i08np4gxiks7chp6j328pdqb02apbba53mj4zvxb9v37qpxzqgz"))) |
| 413 | (make-linux-libre-source version | 414 | (make-linux-libre-source version |
| 414 | (%upstream-linux-source version hash) | 415 | (%upstream-linux-source version hash) |
| 415 | deblob-scripts-4.19))) | 416 | deblob-scripts-4.19))) |
| 416 | 417 | ||
| 417 | (define-public linux-libre-4.14-version "4.14.250") | 418 | (define-public linux-libre-4.14-version "4.14.253") |
| 418 | (define-public linux-libre-4.14-gnu-revision "gnu1") | 419 | (define-public linux-libre-4.14-gnu-revision "gnu1") |
| 419 | (define deblob-scripts-4.14 | 420 | (define deblob-scripts-4.14 |
| 420 | (linux-libre-deblob-scripts | 421 | (linux-libre-deblob-scripts |
| 421 | linux-libre-4.14-version | 422 | linux-libre-4.14-version |
| 422 | linux-libre-4.14-gnu-revision | 423 | linux-libre-4.14-gnu-revision |
| 423 | (base32 "0cnax38650m9sxiwvc1xm5saymlsmx427j3jqpx34df2ah2rnrwf") | 424 | (base32 "02rxvr0gmxb3zfsyyzdmzgfq04gkdkv1cc38md0xfl0mxzdzdfyk") |
| 424 | (base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p"))) | 425 | (base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p"))) |
| 425 | (define-public linux-libre-4.14-pristine-source | 426 | (define-public linux-libre-4.14-pristine-source |
| 426 | (let ((version linux-libre-4.14-version) | 427 | (let ((version linux-libre-4.14-version) |
| 427 | (hash (base32 "0zbf6gxm8iwf7cra310gfd0zyj8l9ckdahky9w6wb9wlznwkvd54"))) | 428 | (hash (base32 "1mgl55c8fa2ry4qp0phkdkzjhwfnkbhvi266n348kyjyqnjl234f"))) |
| 428 | (make-linux-libre-source version | 429 | (make-linux-libre-source version |
| 429 | (%upstream-linux-source version hash) | 430 | (%upstream-linux-source version hash) |
| 430 | deblob-scripts-4.14))) | 431 | deblob-scripts-4.14))) |
| 431 | 432 | ||
| 432 | (define-public linux-libre-4.9-version "4.9.286") | 433 | (define-public linux-libre-4.9-version "4.9.288") |
| 433 | (define-public linux-libre-4.9-gnu-revision "gnu1") | 434 | (define-public linux-libre-4.9-gnu-revision "gnu1") |
| 434 | (define deblob-scripts-4.9 | 435 | (define deblob-scripts-4.9 |
| 435 | (linux-libre-deblob-scripts | 436 | (linux-libre-deblob-scripts |
| 436 | linux-libre-4.9-version | 437 | linux-libre-4.9-version |
| 437 | linux-libre-4.9-gnu-revision | 438 | linux-libre-4.9-gnu-revision |
| 438 | (base32 "1n74ddrifnw06hx7ih2sk8jaiqlm1jyyhswyjpxiyhrrcvjcilch") | 439 | (base32 "0nai5m4rbh37qaj1xf2qj7656l2gacfh0847q5d07y22b048fq5n") |
| 439 | (base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p"))) | 440 | (base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p"))) |
| 440 | (define-public linux-libre-4.9-pristine-source | 441 | (define-public linux-libre-4.9-pristine-source |
| 441 | (let ((version linux-libre-4.9-version) | 442 | (let ((version linux-libre-4.9-version) |
| 442 | (hash (base32 "0id62p43dmkl9ir278p0dsfg3q7m1d8rlxv0c9qi1pzalkygv8p2"))) | 443 | (hash (base32 "0v5592v565bl924c23m1n7p5zddr0w7zn8m97pmikk6p7cyhjq9n"))) |
| 443 | (make-linux-libre-source version | 444 | (make-linux-libre-source version |
| 444 | (%upstream-linux-source version hash) | 445 | (%upstream-linux-source version hash) |
| 445 | deblob-scripts-4.9))) | 446 | deblob-scripts-4.9))) |
| 446 | 447 | ||
| 447 | (define-public linux-libre-4.4-version "4.4.288") | 448 | (define-public linux-libre-4.4-version "4.4.290") |
| 448 | (define-public linux-libre-4.4-gnu-revision "gnu1") | 449 | (define-public linux-libre-4.4-gnu-revision "gnu1") |
| 449 | (define deblob-scripts-4.4 | 450 | (define deblob-scripts-4.4 |
| 450 | (linux-libre-deblob-scripts | 451 | (linux-libre-deblob-scripts |
| 451 | linux-libre-4.4-version | 452 | linux-libre-4.4-version |
| 452 | linux-libre-4.4-gnu-revision | 453 | linux-libre-4.4-gnu-revision |
| 453 | (base32 "11397dgj6cdfv6anxrj7jwgvnqvwh5i0ci6c8mb85ry6h4fnfmq4") | 454 | (base32 "1mmnv77432la5dkhpy1n8w59c0v6l08fyf2ggh294gyrx8nbci11") |
| 454 | (base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p"))) | 455 | (base32 "1a0k9i8gnzkyvfr80f8xw2fnxfwddhz1pzicz9fh0y3jzzkzk45p"))) |
| 455 | (define-public linux-libre-4.4-pristine-source | 456 | (define-public linux-libre-4.4-pristine-source |
| 456 | (let ((version linux-libre-4.4-version) | 457 | (let ((version linux-libre-4.4-version) |
| 457 | (hash (base32 "028w3yzmzymy7l1nf3n1pfbg95hfi4ilphkyl00ddgj8sfm542c7"))) | 458 | (hash (base32 "1dcx58nmzkcc5nz2b5b7mgw4w7y28v3s9wd8h78czdqfa0kxrl20"))) |
| 458 | (make-linux-libre-source version | 459 | (make-linux-libre-source version |
| 459 | (%upstream-linux-source version hash) | 460 | (%upstream-linux-source version hash) |
| 460 | deblob-scripts-4.4))) | 461 | deblob-scripts-4.4))) |
| @@ -1226,7 +1227,7 @@ and should be used with caution, especially on untested models.") | |||
| 1226 | (define-public corefreq | 1227 | (define-public corefreq |
| 1227 | (package | 1228 | (package |
| 1228 | (name "corefreq") | 1229 | (name "corefreq") |
| 1229 | (version "1.86.7") | 1230 | (version "1.87.4") |
| 1230 | (source | 1231 | (source |
| 1231 | (origin | 1232 | (origin |
| 1232 | (method git-fetch) | 1233 | (method git-fetch) |
| @@ -1235,7 +1236,7 @@ and should be used with caution, especially on untested models.") | |||
| 1235 | (commit version))) | 1236 | (commit version))) |
| 1236 | (file-name (git-file-name name version)) | 1237 | (file-name (git-file-name name version)) |
| 1237 | (sha256 | 1238 | (sha256 |
| 1238 | (base32 "1k8pyxcahc78kcc8q1h76dr91i1r33jciqhgkajkz3xa28qx8mhn")))) | 1239 | (base32 "01g1smhfzb02gmfjm8c7rchc79dan9jc9pv9c0f8f7fly2hy5zvs")))) |
| 1239 | (build-system linux-module-build-system) | 1240 | (build-system linux-module-build-system) |
| 1240 | (outputs (list "out" "linux-module")) | 1241 | (outputs (list "out" "linux-module")) |
| 1241 | (arguments | 1242 | (arguments |
| @@ -5820,7 +5821,7 @@ feature, and a laptop with an accelerometer. It has no effect on SSDs.") | |||
| 5820 | (define-public thinkfan | 5821 | (define-public thinkfan |
| 5821 | (package | 5822 | (package |
| 5822 | (name "thinkfan") | 5823 | (name "thinkfan") |
| 5823 | (version "1.2.2") | 5824 | (version "1.3.0") |
| 5824 | (source | 5825 | (source |
| 5825 | (origin | 5826 | (origin |
| 5826 | (method git-fetch) | 5827 | (method git-fetch) |
| @@ -5829,7 +5830,7 @@ feature, and a laptop with an accelerometer. It has no effect on SSDs.") | |||
| 5829 | (commit version))) | 5830 | (commit version))) |
| 5830 | (file-name (git-file-name name version)) | 5831 | (file-name (git-file-name name version)) |
| 5831 | (sha256 | 5832 | (sha256 |
| 5832 | (base32 "01l1pnj1cgy3dwgyys2s5iqzyv6kk47vlpy09qjafk8py21ijik3")))) | 5833 | (base32 "1whdhf3aw0g4xwbn1csy2wz6g1hw5nlw64r91nnxba9qn25nl9k4")))) |
| 5833 | (build-system cmake-build-system) | 5834 | (build-system cmake-build-system) |
| 5834 | (arguments | 5835 | (arguments |
| 5835 | `(#:modules ((guix build cmake-build-system) | 5836 | `(#:modules ((guix build cmake-build-system) |
| @@ -8288,6 +8289,71 @@ enable and disable specific instrumentation points, and writes event records | |||
| 8288 | to ring buffers shared with a consumer daemon.") | 8289 | to ring buffers shared with a consumer daemon.") |
| 8289 | (license license:lgpl2.1+))) | 8290 | (license license:lgpl2.1+))) |
| 8290 | 8291 | ||
| 8292 | (define-public lttng-tools | ||
| 8293 | (package | ||
| 8294 | (name "lttng-tools") | ||
| 8295 | (version "2.12.5") | ||
| 8296 | (source (origin | ||
| 8297 | (method url-fetch) | ||
| 8298 | (uri (string-append "https://lttng.org/files/lttng-tools/" | ||
| 8299 | "lttng-tools-" version ".tar.bz2")) | ||
| 8300 | (sha256 | ||
| 8301 | (base32 | ||
| 8302 | "0bgk35423v6z17j1w80m7dcza7gigs1pwyq24sdmgqwg6j2d1zmc")))) | ||
| 8303 | (build-system gnu-build-system) | ||
| 8304 | (arguments | ||
| 8305 | `(;; FIXME - Currently there's a segmentation fault by swig when enabling | ||
| 8306 | ;; Python's bindings. Thus, bindings are disable here. Replace | ||
| 8307 | ;; `disable` by `enable` in #:configure-flags when this is fixed. | ||
| 8308 | #:configure-flags '("--disable-python-bindings") | ||
| 8309 | ;; FIXME - Tests are disabled for now because one test hangs | ||
| 8310 | ;; indefinetely. Also, parallel testing is not possible because of how | ||
| 8311 | ;; the lttng-daemon handles sessions. Thus, keep parallel testing | ||
| 8312 | ;; disabled even after tests are enabled! | ||
| 8313 | #:tests? #f | ||
| 8314 | #:parallel-tests? #f | ||
| 8315 | #:phases | ||
| 8316 | (modify-phases %standard-phases | ||
| 8317 | (add-before 'configure 'set-environment-variables | ||
| 8318 | (lambda _ | ||
| 8319 | (setenv "HOME" "/tmp") | ||
| 8320 | (setenv "LTTNG_HOME" "/tmp"))) | ||
| 8321 | ;; We don't put (which "man") here because LTTng uses execlp. | ||
| 8322 | (add-after 'unpack 'patch-default-man-path | ||
| 8323 | (lambda _ | ||
| 8324 | (substitute* "src/common/defaults.h" | ||
| 8325 | (("/usr/bin/man") "man"))))))) | ||
| 8326 | ;; NOTE - Users have to install python-3 in their profile to use the | ||
| 8327 | ;; bindings. We don't put it in the inputs, because the rest of the tools | ||
| 8328 | ;; can work without it. | ||
| 8329 | (inputs | ||
| 8330 | `(("liburcu" ,liburcu) | ||
| 8331 | ("popt" ,popt) | ||
| 8332 | ("numactl" ,numactl))) | ||
| 8333 | (propagated-inputs | ||
| 8334 | `(("kmod" ,kmod) | ||
| 8335 | ("module-init-tools" ,module-init-tools))) | ||
| 8336 | (native-inputs | ||
| 8337 | `(("pkg-config" ,pkg-config) | ||
| 8338 | ("perl" ,perl) | ||
| 8339 | ("libpfm4" ,libpfm4) | ||
| 8340 | ("python-3" ,python-3) | ||
| 8341 | ("swig" ,swig) | ||
| 8342 | ("procps" ,procps) | ||
| 8343 | ("which" ,which) | ||
| 8344 | ("flex" ,flex) | ||
| 8345 | ("bison" ,bison) | ||
| 8346 | ("asciidoc" ,asciidoc) | ||
| 8347 | ("libxml2" ,libxml2) | ||
| 8348 | ("lttng-ust" ,lttng-ust))) | ||
| 8349 | (home-page "https://lttng.org/") | ||
| 8350 | (synopsis "LTTng userspace tracer libraries") | ||
| 8351 | (description "The lttng-tools project provides a session | ||
| 8352 | daemon @code{lttng-sessiond} that acts as a tracing registry, the @command{lttng} command | ||
| 8353 | line for tracing control, a @code{lttng-ctl} library for tracing control and a | ||
| 8354 | @code{lttng-relayd} for network streaming.") | ||
| 8355 | (license (list license:gpl2 license:lgpl2.1)))) | ||
| 8356 | |||
| 8291 | (define-public kexec-tools | 8357 | (define-public kexec-tools |
| 8292 | (package | 8358 | (package |
| 8293 | (name "kexec-tools") | 8359 | (name "kexec-tools") |
