Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gdm for openSUSE:Factory checked in 
at 2025-03-31 11:38:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gdm (Old)
 and      /work/SRC/openSUSE:Factory/.gdm.new.2696 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gdm"

Mon Mar 31 11:38:02 2025 rev:276 rq:1265194 version:48.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gdm/gdm.changes  2025-03-24 13:25:30.922956861 
+0100
+++ /work/SRC/openSUSE:Factory/.gdm.new.2696/gdm.changes        2025-03-31 
11:39:15.410406497 +0200
@@ -1,0 +2,8 @@
+Wed Mar 26 22:11:42 UTC 2025 - Callum Farmer <gm...@opensuse.org>
+
+- Update systemd xdm migration
+  * Change display-manager to display-manager-legacy
+  * Actually detect gdm instead of xdm
+  * Upgrade xdm first if installed to run the systemd migration
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gdm.spec ++++++
--- /var/tmp/diff_new_pack.3fOndh/_old  2025-03-31 11:39:17.806505783 +0200
+++ /var/tmp/diff_new_pack.3fOndh/_new  2025-03-31 11:39:17.826506611 +0200
@@ -222,6 +222,8 @@
 Summary:        Systemd gdm.service file
 Group:          System/GUI/GNOME
 Requires:       gdm
+# Upgrade xdm first if installed - to run systemd DM migration
+Requires(pre):  (xdm >= 1.1.17 if xdm)
 BuildArch:      noarch
 
 %description systemd
@@ -383,11 +385,11 @@
 %posttrans systemd
 %dnl migrate a system that still uses xdm abstraction as display manager to gdm
 %dnl part of https://en.opensuse.org/openSUSE:DisplayManagerRework
-if [ "$(systemctl is-enabled display-manager)" = "enabled" ]; then
-  # display-manager is currently 'xdm' - if another display-manager would be 
running
-  # the above command would return 'alias'
+if [ "$(systemctl is-enabled display-manager-legacy)" = "enabled" ]; then
+  # display-manager is currently 'legacy mode' - if migration has already 
occured
+  # the above command would return 'disabled'
   if [ -x /usr/sbin/update-alternatives ]; then
-    if [ "$(update-alternatives  --query default-displaymanager | awk 
'/Value:/ {print $2}')" = "/usr/lib/X11/displaymanagers/xdm" ]; then
+    if [ "$(update-alternatives  --query default-displaymanager | awk 
'/Value:/ {print $2}')" = "/usr/lib/X11/displaymanagers/gdm" ]; then
       # the display-manager started by xdm is currently gdm - let's switch to 
the native service
       # this only force-enables gdm whenever xdm was enabled AND it was uses 
as wrapper to start gdm
       systemctl enable --force gdm.service

Reply via email to