diff options
| author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-03-26 11:57:16 +0100 |
|---|---|---|
| committer | Vagrant Cascadian <vagrant@debian.org> | 2026-04-02 15:37:08 -0700 |
| commit | 98f495ed00418bc0c53626011b7db3e419a978b9 (patch) | |
| tree | d97a741f822f5935287a2a4e8b0b4b484eebe833 /gnu/packages/linux.scm | |
| parent | b025c7103027943b1bef8aee5dd4cf29cdf904c1 (diff) | |
gnu: corefreq: Update to 2.1.0.
* gnu/packages/linux.scm (corefreq): Update to 2.1.0.
[#:phases]<patch-Makefile>: Use ‘echo’ instead of ‘@echo’.
<prepare>: Drop call to “make”.
Fixes: guix/guix#7330 (corefreq fails to build)
Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Diffstat (limited to 'gnu/packages/linux.scm')
| -rw-r--r-- | gnu/packages/linux.scm | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 6621dfd901d..14600b3b7c7 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm | |||
| @@ -2690,7 +2690,7 @@ and should be used with caution, especially on untested models.") | |||
| 2690 | (define-public corefreq | 2690 | (define-public corefreq |
| 2691 | (package | 2691 | (package |
| 2692 | (name "corefreq") | 2692 | (name "corefreq") |
| 2693 | (version "1.98.4") | 2693 | (version "2.1.0") |
| 2694 | (source | 2694 | (source |
| 2695 | (origin | 2695 | (origin |
| 2696 | (method git-fetch) | 2696 | (method git-fetch) |
| @@ -2699,7 +2699,7 @@ and should be used with caution, especially on untested models.") | |||
| 2699 | (commit version))) | 2699 | (commit version))) |
| 2700 | (file-name (git-file-name name version)) | 2700 | (file-name (git-file-name name version)) |
| 2701 | (sha256 | 2701 | (sha256 |
| 2702 | (base32 "0mxp5h23y09674syaj5gpdifr53zvgjv7g7hargwg6897883qfln")))) | 2702 | (base32 "054rnrwvkbfmy2maxjk928fh1p346313ixhkbjwcq7qjz3idjixl")))) |
| 2703 | ;; The upstream Makefile is now such a proprietary mess that standard builds | 2703 | ;; The upstream Makefile is now such a proprietary mess that standard builds |
| 2704 | ;; as performed by our linux-module-build-system are more or less impossible | 2704 | ;; as performed by our linux-module-build-system are more or less impossible |
| 2705 | ;; without heavy patching. However, we still keep it as the main build | 2705 | ;; without heavy patching. However, we still keep it as the main build |
| @@ -2731,14 +2731,12 @@ and should be used with caution, especially on untested models.") | |||
| 2731 | (string-append = dir "\n")) | 2731 | (string-append = dir "\n")) |
| 2732 | (("^([[:space:]]+)(.* modules_install.*)" | 2732 | (("^([[:space:]]+)(.* modules_install.*)" |
| 2733 | _ indent command) | 2733 | _ indent command) |
| 2734 | (string-append indent "@echo skipping " command)))))) | 2734 | (string-append indent "echo skipping " command)))))) |
| 2735 | (add-before 'build 'prepare | 2735 | (add-before 'build 'prepare |
| 2736 | (lambda* (#:key source-directory make-flags #:allow-other-keys) | 2736 | (lambda* (#:key source-directory #:allow-other-keys) |
| 2737 | ;; Lazily fix another mismatch between what the kernel module | 2737 | ;; Lazily fix another mismatch between what the kernel module |
| 2738 | ;; build system expects and what this package provides. | 2738 | ;; build system expects and what this package provides. |
| 2739 | (symlink "source/build" source-directory) ;$(BUILD) | 2739 | (symlink "source/build" source-directory))) |
| 2740 | ;; Set up symbolic links inside $(BUILD), for some reason. | ||
| 2741 | (apply invoke "make" "prepare" make-flags))) | ||
| 2742 | (replace 'build (assoc-ref gnu:%standard-phases 'build)) | 2740 | (replace 'build (assoc-ref gnu:%standard-phases 'build)) |
| 2743 | (add-before 'install 'resolve-symlink | 2741 | (add-before 'install 'resolve-symlink |
| 2744 | ;; The build system silently fails to install from a symlink. | 2742 | ;; The build system silently fails to install from a symlink. |
