Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 98b9a89e6a |
@@ -9,7 +9,7 @@ auth [success=ok default=1] pam_gdm.so
|
||||
auth optional pam_gnome_keyring.so
|
||||
|
||||
account substack common-account
|
||||
account include postlogin-account
|
||||
account include common-account
|
||||
|
||||
password required pam_deny.so
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
diff --git a/data/meson.build b/data/meson.build
|
||||
index de8edd6..7a24d30 100644
|
||||
--- a/data/meson.build
|
||||
+++ b/data/meson.build
|
||||
@@ -158,7 +158,7 @@ service_config.set('sbindir', gdm_prefix / get_option('sbindir'))
|
||||
service_config.set('GDM_INITIAL_VT', get_option('initial-vt'))
|
||||
service_config.set('LANG_CONFIG_FILE', lang_config_file)
|
||||
if plymouth_dep.found()
|
||||
- service_config.set('PLYMOUTH_QUIT_SERVICE', 'plymouth-quit.service')
|
||||
+ service_config.set('PLYMOUTH_QUIT_SERVICE', 'plymouth-quit.service plymouth-quit-wait.service')
|
||||
else
|
||||
service_config.set('PLYMOUTH_QUIT_SERVICE', '')
|
||||
endif
|
||||
2
gdm-rpmlintrc
Normal file
2
gdm-rpmlintrc
Normal file
@@ -0,0 +1,2 @@
|
||||
setBadness('polkit-file-unauthorized', 100)
|
||||
setBadness('dbus-file-digest-mismatch', 100)
|
||||
19
gdm.changes
19
gdm.changes
@@ -1,21 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 6 06:55:48 UTC 2025 - Xiaoguang Wang <xiaoguang.wang@suse.com>
|
||||
Thu Jul 31 08:19:39 UTC 2025 - Max Lin <mlin@suse.com>
|
||||
|
||||
- Add gdm-plymouth-quit-wait.patch: Disable plymouth-quit-wait.service
|
||||
(bsc#1243439).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 5 07:10:40 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Ensure migration to gdm.service also happens during upgrade when
|
||||
gdm is installed first and we thus lose the updte-alternative
|
||||
link which would be part of tgdm-xdm-integration (boo#1247418).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 16 14:53:57 UTC 2025 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
- gdm-fingerprint.pamd: Fix inclusion of common-account instead
|
||||
of postlogin-account
|
||||
- Create a migrate_to_gdm hook at the pre stage, bsc#1247418
|
||||
- Add gdm-rpmlintrc in order to rebuild gdm in Leap 16.0, bsc#1247418
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 18 09:43:19 UTC 2025 - Valentin Lefebvre <valentin.lefebvre@suse.com>
|
||||
|
||||
25
gdm.spec
25
gdm.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gdm
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -57,6 +57,7 @@ Source14: gdm-fingerprint-sle.pamd
|
||||
Source15: gdm-smartcard-sle.pamd
|
||||
# Configuration for pulseaudio
|
||||
Source20: default.pa
|
||||
Source99: gdm-rpmlintrc
|
||||
# WARNING: do not remove/significantly change patch0 without updating the relevant patch in accountsservice too
|
||||
# PATCH-FIX-OPENSUSE gdm-s390-not-require-g-s-d_wacom.patch bsc#1129412 yfjiang@suse.com -- Remove the runtime requirement of g-s-d Wacom plugin
|
||||
Patch0: gdm-s390-not-require-g-s-d_wacom.patch
|
||||
@@ -74,8 +75,6 @@ Patch6: gdm-initial-setup-hardening.patch
|
||||
Patch7: gdm-settings-utils_rename-variable.patch
|
||||
# PATCH-FIX-UPSTREAM gdm-fix-wrong-path-gdm-config.patch bsc#1232669, glgo#GNOME/gdm!282 alynx.zhou@suse.com -- Add missing slash when gdm-config building dconf database path
|
||||
Patch8: gdm-fix-wrong-path-gdm-config.patch
|
||||
# PATCH-FIX-UPSTREAM gdm-plymouth-quit-wait.patch bsc#1243439 xwang@suse.com -- Disable plymouth-quit-wait.service
|
||||
Patch9: gdm-plymouth-quit-wait.patch
|
||||
|
||||
### NOTE: Keep please SLE-only patches at bottom (starting on 1000).
|
||||
# PATCH-FIX-SLE gdm-disable-gnome-initial-setup.patch bnc#1067976 qzhao@suse.com -- Disable gnome-initial-setup runs before gdm, g-i-s will only serve for CJK people to choose the input-method after login.
|
||||
@@ -128,7 +127,7 @@ Requires: gnome-shell
|
||||
# xdm package ships systemd display-manager service and other common scripts
|
||||
# between display managers (bsc#1084655)
|
||||
Requires: (gdm-xdm-integration or gdm-systemd)
|
||||
%if !0%{?is_opensuse}
|
||||
%if !0%{?is_opensuse} || 0%{?suse_version} <= 1600
|
||||
Suggests: gdm-systemd
|
||||
%else
|
||||
Suggests: gdm-xdm-integration
|
||||
@@ -284,7 +283,7 @@ running display manager.
|
||||
%endif
|
||||
-Dudev-dir=%{_udevrulesdir} \
|
||||
-Dwayland-support=true \
|
||||
%if !0%{?is_opensuse}
|
||||
%if !0%{?is_opensuse} || 0%{?suse_version} <= 1600
|
||||
-Dx11-support=false \
|
||||
%endif
|
||||
%nil
|
||||
@@ -341,7 +340,7 @@ ln -s ../sbin/gdm %{buildroot}%{_bindir}/gdm
|
||||
|
||||
mkdir -p %{buildroot}%{_tmpfilesdir}
|
||||
install -m 644 %{SOURCE9} %{buildroot}%{_tmpfilesdir}/gdm.conf
|
||||
%if !0%{?is_opensuse}
|
||||
%if !0%{?is_opensuse} || 0%{?suse_version} <= 1600
|
||||
sed -e '#/var/lib/gdm/\.pulse#d' -i %{buildroot}%{_tmpfilesdir}/gdm.conf
|
||||
%endif
|
||||
|
||||
@@ -351,7 +350,7 @@ install -m 644 %{SOURCE10} %{buildroot}%{_prefix}/lib/systemd/logind.conf.d/rese
|
||||
mkdir -p %{buildroot}%{_sysusersdir}
|
||||
install -m 644 %{SOURCE11} %{buildroot}%{_sysusersdir}/gdm.conf
|
||||
|
||||
%if 0%{?is_opensuse}
|
||||
%if 0%{?is_opensuse} && 0%{?suse_version} > 1600
|
||||
install -D -m 644 %{SOURCE20} %{buildroot}%{_prefix}/share/factory/var/lib/gdm/.pulse/default.pa
|
||||
%endif
|
||||
|
||||
@@ -362,10 +361,10 @@ install -D -m 644 %{SOURCE20} %{buildroot}%{_prefix}/share/factory/var/lib/gdm/.
|
||||
%meson_test
|
||||
|
||||
%pre -f gdm.pre
|
||||
if [ $1 -gt 1 ]; then
|
||||
if [ "$(systemctl is-enabled display-manager-legacy)" = "enabled" -a -x /usr/sbin/update-alternatives]; then
|
||||
if [ "$(systemctl is-enabled display-manager-legacy)" = "enabled" ]; then
|
||||
if [ -x /usr/sbin/update-alternatives ]; then
|
||||
if [ "$(update-alternatives --query default-displaymanager | awk '/Value:/ {print $2}')" = "/usr/lib/X11/displaymanagers/gdm" ]; then
|
||||
touch /var/tmp/migrate_to_gdm
|
||||
touch /var/tmp/migrate_to_gdm
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
@@ -428,7 +427,7 @@ fi
|
||||
%dir %{_datadir}/dconf
|
||||
%dir %{_datadir}/dconf/profile
|
||||
%{_datadir}/dconf/profile/gdm
|
||||
%if 0%{?is_opensuse}
|
||||
%if 0%{?is_opensuse} && 0%{?suse_version} > 1600
|
||||
%dir %{_datadir}/factory/var
|
||||
%dir %{_datadir}/factory/var/lib
|
||||
%{_datadir}/factory/var/lib/gdm
|
||||
@@ -440,7 +439,7 @@ fi
|
||||
%{_libexecdir}/gdm/gdm-*
|
||||
%{_libexecdir}/gdm/gdmflexiserver
|
||||
%ghost %attr(750,gdm,gdm) %dir %{_localstatedir}/lib/gdm
|
||||
%if 0%{?is_opensuse}
|
||||
%if 0%{?is_opensuse} && 0%{?suse_version} > 1600
|
||||
%attr(0700, gdm, gdm) %ghost %dir %{_localstatedir}/lib/gdm/.pulse
|
||||
%attr(0600, gdm, gdm) %ghost %{_localstatedir}/lib/gdm/.pulse/default.pa
|
||||
%endif
|
||||
@@ -456,7 +455,7 @@ fi
|
||||
%_config_norepl %{_pam_vendordir}/gdm-password
|
||||
%_config_norepl %{_pam_vendordir}/gdm-launch-environment
|
||||
%{_datadir}/dbus-1/system.d/gdm.conf
|
||||
%if 0%{?is_opensuse}
|
||||
%if 0%{?is_opensuse} && 0%{?suse_version} > 1600
|
||||
%{_udevrulesdir}/61-gdm.rules
|
||||
%endif
|
||||
%{_datadir}/polkit-1/rules.d/20-gdm.rules
|
||||
|
||||
Reference in New Issue
Block a user