Add 9000-add-openeuler-pam-config.patch for openeuler pam config to normally start gdm

(cherry picked from commit 52773ae478c9fc64716dcfb4527f40ed48ae84fc)
This commit is contained in:
weijin-deng 2021-08-17 13:23:02 +08:00 committed by openeuler-sync-bot
parent 2f1a382327
commit ab702e25c4
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff --git a/meson.build b/meson.build
index 4ace94b..9d7b8b7 100644
--- a/meson.build
+++ b/meson.build
@@ -167,6 +167,7 @@ default_pam_config = get_option('default-pam-config')
# If requested, try autodetecting from release files (see NetworkManager source)
if default_pam_config == 'autodetect'
pam_autodetect_map = {
+ '/etc/openEuler-release': 'redhat',
'/etc/redhat-release': 'redhat',
'/etc/fedora-release': 'redhat',
'/etc/exherbo-release': 'exherbo',

View File

@ -1,7 +1,7 @@
Name: gdm
Epoch: 1
Version: 3.38.2.1
Release: 2
Release: 3
Summary: A graphical display manager
License: GPLv2+
URL: https://wiki.gnome.org/Projects/GDM
@ -12,6 +12,7 @@ Source5: default.pa-for-gdm
Patch0: 0001-data-add-system-dconf-databases-to-gdm-profile.patch
Patch1: 0001-Honor-initial-setup-being-disabled-by-distro-install.patch
Patch2: gdm-should-recover-automatically.patch
Patch3: 9000-add-openeuler-pam-config.patch
BuildRequires: pam-devel >= 0:0.99.8.1-11 desktop-file-utils >= 0.2.90
BuildRequires: libtool automake autoconf libattr-devel gettext-devel libdmx-devel
@ -154,6 +155,12 @@ fi
%config %{_sysconfdir}/gdm/PostLogin/*
%config %{_sysconfdir}/gdm/PreSession/*
%config %{_sysconfdir}/gdm/PostSession/*
%config %{_sysconfdir}/pam.d/gdm-autologin
%config %{_sysconfdir}/pam.d/gdm-password
%config %{_sysconfdir}/pam.d/gdm-pin
%config %{_sysconfdir}/pam.d/gdm-smartcard
%config %{_sysconfdir}/pam.d/gdm-fingerprint
%{_sysconfdir}/pam.d/gdm-launch-environment
%{_sysconfdir}/gdm/Xsession
%{_sysconfdir}/dbus-1/system.d/gdm.conf
%{_datadir}/gdm/gdm.schemas
@ -182,6 +189,9 @@ fi
%{_libdir}/pkgconfig/*.pc
%changelog
* Tue Aug 17 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.2-3
- Add 9000-add-openeuler-pam-config.patch for openeuler pam config to normally start gdm
* Wed Jun 23 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.2-2
- Add Omitted Sources1 and Sources5
- Add Omitted patches Patch0 and Patch1