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-10-24 11:13:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-prime (Old) and /work/SRC/openSUSE:Factory/.suse-prime.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-prime" Mon Oct 24 11:13:11 2022 rev:38 rq:1030616 version:0.8.9 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-prime/suse-prime.changes 2022-08-01 21:33:26.778181023 +0200 +++ /work/SRC/openSUSE:Factory/.suse-prime.new.2275/suse-prime.changes 2022-10-24 11:13:32.071251557 +0200 @@ -1,0 +2,7 @@ +Sun Oct 23 20:56:09 UTC 2022 - Stefan Dirsch <sndir...@suse.com> + +- SUSEPrime-0.8.9 + * prime-select.sh: Fix broken PCI BusID parsing on machines + with several domains (issue#88) + +------------------------------------------------------------------- Old: ---- SUSEPrime-0.8.8.tar.gz New: ---- SUSEPrime-0.8.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-prime.spec ++++++ --- /var/tmp/diff_new_pack.czOn8o/_old 2022-10-24 11:13:32.619252687 +0200 +++ /var/tmp/diff_new_pack.czOn8o/_new 2022-10-24 11:13:32.623252694 +0200 @@ -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.8 +Version: 0.8.9 Release: 0 Summary: GPU (nvidia/intel) selection for NVIDIA optimus laptops with bbswitch support License: SUSE-Public-Domain ++++++ SUSEPrime-0.8.8.tar.gz -> SUSEPrime-0.8.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SUSEPrime-0.8.8/prime-select.sh new/SUSEPrime-0.8.9/prime-select.sh --- old/SUSEPrime-0.8.8/prime-select.sh 2022-07-31 13:08:23.000000000 +0200 +++ new/SUSEPrime-0.8.9/prime-select.sh 2022-10-23 22:48:54.000000000 +0200 @@ -337,13 +337,13 @@ lspci_line=$1 constructor=$2 lowercase_constructor=$(echo $constructor | tr '[A-Z]' '[a-z]') - line=$(lspci | grep "$lspci_line" | head -1) + line=$(lspci -D | grep "$lspci_line" | head -1) if [ $? -ne 0 ]; then logging "Failed to find $constructor card with lspci" exit 1 fi - card_busid=$(echo $line | cut -f 1 -d ' ' | sed -e 's/\./:/g;s/:/ /g' | awk -Wposix '{printf("PCI:%d:%d:%d\n","0x" $1, "0x" $2, "0x" $3 )}') + card_busid=$(echo $line | cut -f 1 -d ' ' | sed -e 's/\./:/g;s/:/ /g' | awk -Wposix '{printf("PCI:%d:%d:%d\n","0x" $2, "0x" $3, "0x" $4 )}') if [ $? -ne 0 ]; then logging "Failed to build $constructor card bus id" exit 1