diff mbox series

[bug#59191] gnu: bbswitch-module: Update to 20211129.

Message ID 87iljlx2n0.fsf@ambrevar.xyz
State New
Headers show
Series [bug#59191] gnu: bbswitch-module: Update to 20211129. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git-branch success View Git branch
cbaines/applying patch success
cbaines/issue success View issue

Commit Message

Pierre Neidhardt Nov. 11, 2022, 9:26 a.m. UTC
This is a bit special as it seems to be the only module that does not
build on linux-libre-6.

Still OK?

Comments

Dominic Martinez Nov. 12, 2022, 3:01 p.m. UTC | #1
Pierre Neidhardt <mail@ambrevar.xyz> writes:

> This is a bit special as it seems to be the only module that 
> does not
> build on linux-libre-6.
>
> Still OK?

There's an open PR to fix the bbswitch build, but no response yet: 
https://github.com/Bumblebee-Project/bbswitch/pull/219.

Maybe it's worth considering using the updated fork until the 
official bbswitch is updated? 
https://github.com/madchic/bbswitch/tree/develop
Pierre Neidhardt Nov. 14, 2022, 10:31 a.m. UTC | #2
Good find!

I've merged the fix with 4cc746820a4043c029e26926f85c5e3c1d1b9eb3.
We can close this issue I believe.
Christopher Baines Nov. 19, 2022, 1:40 p.m. UTC | #3
Pierre Neidhardt <mail@ambrevar.xyz> writes:

> Good find!
>
> I've merged the fix with 4cc746820a4043c029e26926f85c5e3c1d1b9eb3.
> We can close this issue I believe.

Closing as suggested above.
diff mbox series

Patch

From 352928bc8cfd409adbb630f0948c7cce319269ef Mon Sep 17 00:00:00 2001
From: Pierre Neidhardt <mail@ambrevar.xyz>
Date: Fri, 11 Nov 2022 10:20:26 +0100
Subject: [PATCH] gnu: bbswitch-module: Update to 20211129.

* gnu/packages/linux.scm (bbswitch-module): Update to 20211129.
[arguments]: Build using linux-5.15 as it fails to build with Linux >= 5.19.
---
 gnu/packages/linux.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 2c06269504..1996495b1c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1442,10 +1442,10 @@  (define-public vhba-module
 (define-public bbswitch-module
   ;; Use "develop" branch since stable release does not build on Linux >= 5.6.
   ;; See https://github.com/Bumblebee-Project/bbswitch/issues/205.
-  (let ((commit "ddbd243638c7bc2baecf43a78aff46cdc12e9b2e"))
+  (let ((commit "23891174a80ea79c7720bcc7048a5c2bfcde5cd9"))
     (package
       (name "bbswitch-module")
-      (version (git-version "0.8" "1" commit))
+      (version (git-version "0.8" "2" commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -1454,10 +1454,13 @@  (define-public bbswitch-module
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "1pgldnza7mzd0flrxg4q69dwbq1fhl58m5c62ary5drb0xyf3lqb"))))
+                  "0da7arxarq8id5i8qychrliz3wkc05l2mknisn44drm62wkzajz7"))))
       (build-system linux-module-build-system)
       (arguments
-       (list #:tests? #f))              ; no test suite
+       (list
+        #:tests? #f                     ; no test suite
+        ;; Does not work on Linux >= 5.19.
+        #:linux linux-libre-5.15))
       (home-page "https://github.com/Bumblebee-Project/bbswitch")
       (synopsis "Kernel module that disables discrete Nvidia graphics cards")
       (description "The bbswitch module provides a way to toggle the Nvidia

base-commit: c37b6fba1af0d823bd18c753484459b40fc8c041
-- 
2.38.0