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 2021-03-10 08:56:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-prime (Old) and /work/SRC/openSUSE:Factory/.suse-prime.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-prime" Wed Mar 10 08:56:43 2021 rev:26 rq:877779 version:0.7.17 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-prime/suse-prime.changes 2021-02-25 18:28:40.814228919 +0100 +++ /work/SRC/openSUSE:Factory/.suse-prime.new.2378/suse-prime.changes 2021-03-10 08:58:20.318956076 +0100 @@ -1,0 +2,7 @@ +Mon Mar 8 16:04:02 UTC 2021 - Stefan Dirsch <[email protected]> + +- SUSEPrime-0.7.17 + * prime-select.sh: user_logout_waiter() only wait for session + logout when displayamanger is still running (boo#1182667) + +------------------------------------------------------------------- Old: ---- SUSEPrime-0.7.16.tar.gz New: ---- SUSEPrime-0.7.17.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-prime.spec ++++++ --- /var/tmp/diff_new_pack.9b5o3N/_old 2021-03-10 08:58:20.858956634 +0100 +++ /var/tmp/diff_new_pack.9b5o3N/_new 2021-03-10 08:58:20.862956638 +0100 @@ -17,7 +17,7 @@ Name: suse-prime -Version: 0.7.16 +Version: 0.7.17 Release: 0 Summary: GPU (nvidia/intel) selection for NVIDIA optimus laptops License: SUSE-Public-Domain ++++++ SUSEPrime-0.7.16.tar.gz -> SUSEPrime-0.7.17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/SUSEPrime-0.7.16/prime-select.sh new/SUSEPrime-0.7.17/prime-select.sh --- old/SUSEPrime-0.7.16/prime-select.sh 2021-02-24 11:37:35.000000000 +0100 +++ new/SUSEPrime-0.7.17/prime-select.sh 2021-03-08 16:55:43.000000000 +0100 @@ -654,10 +654,15 @@ user_logout_waiter) echo "S" > /etc/prime/boot_state - - currtime=$(date +"%T"); - #manage journalctl to check when X restarted, then jump init 3 - case "$3" in + + # only wait for session logout when displayamanger is still running (boo#1182667) + if [ "$(systemctl status display-manager | grep "Stopped X Display Manager")" > /dev/null ]; then + # S2 = special switch state to indicate that we must not switch to graphical.target (in systemd_call) since displayamanger is currently not running + echo "S2" > /etc/prime/boot_state + else + currtime=$(date +"%T"); + #manage journalctl to check when X restarted, then jump init 3 + case "$3" in gdm ) #GDM_mode @@ -706,8 +711,9 @@ echo "S2" > /etc/prime/boot_state ;; - esac - + esac + fi + echo $2 > /etc/prime/current_type set_user $4
