Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package suse-prime for openSUSE:Factory 
checked in at 2022-03-14 19:35:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/suse-prime (Old)
 and      /work/SRC/openSUSE:Factory/.suse-prime.new.25692 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "suse-prime"

Mon Mar 14 19:35:52 2022 rev:36 rq:961710 version:0.8.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/suse-prime/suse-prime.changes    2022-03-11 
11:36:25.218278123 +0100
+++ /work/SRC/openSUSE:Factory/.suse-prime.new.25692/suse-prime.changes 
2022-03-14 19:37:58.414191646 +0100
@@ -1,0 +2,6 @@
+Mon Mar 14 15:05:50 UTC 2022 - Stefan Dirsch <sndir...@suse.com>
+
+- SUSEPrime-0.8.7
+  * bbcheck(): no longer check for bbswitch kernel module (issue#78) 
+
+-------------------------------------------------------------------

Old:
----
  SUSEPrime-0.8.6.tar.gz

New:
----
  SUSEPrime-0.8.7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ suse-prime.spec ++++++
--- /var/tmp/diff_new_pack.GlKqZ3/_old  2022-03-14 19:37:58.846192163 +0100
+++ /var/tmp/diff_new_pack.GlKqZ3/_new  2022-03-14 19:37:58.850192168 +0100
@@ -23,7 +23,7 @@
 %global modprobe_d_files 09-nvidia-modprobe-bbswitch-G04.conf 
09-nvidia-modprobe-pm-G05.conf
 
 Name:           suse-prime
-Version:        0.8.6
+Version:        0.8.7
 Release:        0
 Summary:        GPU (nvidia/intel) selection for NVIDIA optimus laptops with 
bbswitch support
 License:        SUSE-Public-Domain

++++++ SUSEPrime-0.8.6.tar.gz -> SUSEPrime-0.8.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/SUSEPrime-0.8.6/prime-select.sh 
new/SUSEPrime-0.8.7/prime-select.sh
--- old/SUSEPrime-0.8.6/prime-select.sh 2022-02-11 14:46:32.000000000 +0100
+++ new/SUSEPrime-0.8.7/prime-select.sh 2022-03-14 16:00:59.000000000 +0100
@@ -140,8 +140,6 @@
 }
 
 function bbcheck {
-    #searching module is better than rpm package because there are other 
bbswitch providers like dkms-bbswitch
-    if ! [ $(modinfo bbswitch 2> /dev/null | wc -c) = 0 ]; then
         if ! [ "$(lsmod | grep bbswitch)" > /dev/null ]; then
             if [ "$(lsmod | grep nvidia_drm)" > /dev/null ]; then
                 echo "NVIDIA modules are loaded"
@@ -164,10 +162,6 @@
                 echo "bbswitch is running but seems broken. Cannot get NVIDIA 
power status"
             fi
         fi
-    else
-        #should never happen with suse-prime-bbswitch package as bbswitch is a 
dependency
-        echo "bbswitch module not found. NVIDIA card will not be powered off"
-    fi
 }
 
 function nvpwr {

Reply via email to