Compare commits
10 Commits
2f1a382327
...
6c532a7d13
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6c532a7d13 | ||
|
|
84f07bf462 | ||
|
|
0447306af1 | ||
|
|
85a9ebb91c | ||
|
|
61e7d19e04 | ||
|
|
ac7f31f40d | ||
|
|
b931be5a96 | ||
|
|
e4eb0184fc | ||
|
|
581c9d70b5 | ||
|
|
ab702e25c4 |
10
9000-add-openeuler-pam-config.patch
Normal file
10
9000-add-openeuler-pam-config.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- gdm-42.0/meson.build.orig 2022-04-01 14:44:07.292205407 +0800
|
||||||
|
+++ gdm-42.0/meson.build 2022-04-01 14:44:35.215611962 +0800
|
||||||
|
@@ -170,6 +170,7 @@ default_pam_config = get_option('default
|
||||||
|
# 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',
|
||||||
Binary file not shown.
BIN
gdm-42.0.tar.xz
Normal file
BIN
gdm-42.0.tar.xz
Normal file
Binary file not shown.
@ -1,24 +0,0 @@
|
|||||||
From 10f8add3b6f75113676812ef52e32823f91afb44 Mon Sep 17 00:00:00 2001
|
|
||||||
From: si-gui <245140120@qq.com>
|
|
||||||
Date: Fri, 18 Dec 2020 15:18:09 +0800
|
|
||||||
Subject: [PATCH] gdm should recover automatically
|
|
||||||
|
|
||||||
---
|
|
||||||
data/gdm.service.in | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/data/gdm.service.in b/data/gdm.service.in
|
|
||||||
index 72201c1..d2892b8 100644
|
|
||||||
--- a/data/gdm.service.in
|
|
||||||
+++ b/data/gdm.service.in
|
|
||||||
@@ -20,6 +20,7 @@ After=rc-local.service plymouth-start.service systemd-user-sessions.service
|
|
||||||
OnFailure=plymouth-quit.service
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
+ExecStartPre=/bin/sh -c "systemctl stop session-c*.scope"
|
|
||||||
ExecStart=${sbindir}/gdm
|
|
||||||
KillMode=mixed
|
|
||||||
Restart=always
|
|
||||||
--
|
|
||||||
2.23.0
|
|
||||||
|
|
||||||
26
gdm.spec
26
gdm.spec
@ -1,17 +1,17 @@
|
|||||||
Name: gdm
|
Name: gdm
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.38.2.1
|
Version: 42.0
|
||||||
Release: 2
|
Release: 2
|
||||||
Summary: A graphical display manager
|
Summary: A graphical display manager
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://wiki.gnome.org/Projects/GDM
|
URL: https://wiki.gnome.org/Projects/GDM
|
||||||
Source0: http://download.gnome.org/sources/gdm/3.38/gdm-%{version}.tar.xz
|
Source0: http://download.gnome.org/sources/gdm/42/gdm-%{version}.tar.xz
|
||||||
Source1: org.gnome.login-screen.gschema.override
|
Source1: org.gnome.login-screen.gschema.override
|
||||||
Source5: default.pa-for-gdm
|
Source5: default.pa-for-gdm
|
||||||
|
|
||||||
Patch0: 0001-data-add-system-dconf-databases-to-gdm-profile.patch
|
Patch0: 0001-data-add-system-dconf-databases-to-gdm-profile.patch
|
||||||
Patch1: 0001-Honor-initial-setup-being-disabled-by-distro-install.patch
|
Patch1: 0001-Honor-initial-setup-being-disabled-by-distro-install.patch
|
||||||
Patch2: gdm-should-recover-automatically.patch
|
Patch2: 9000-add-openeuler-pam-config.patch
|
||||||
|
|
||||||
BuildRequires: pam-devel >= 0:0.99.8.1-11 desktop-file-utils >= 0.2.90
|
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
|
BuildRequires: libtool automake autoconf libattr-devel gettext-devel libdmx-devel
|
||||||
@ -22,6 +22,7 @@ BuildRequires: pkgconfig(iso-codes) pkgconfig(libcanberra-gtk3) pkgconfig(lib
|
|||||||
BuildRequires: pkgconfig(libsystemd) pkgconfig(ply-boot-client) pkgconfig(systemd)
|
BuildRequires: pkgconfig(libsystemd) pkgconfig(ply-boot-client) pkgconfig(systemd)
|
||||||
BuildRequires: pkgconfig(x11) pkgconfig(xau) pkgconfig(xorg-server) libXdmcp-devel
|
BuildRequires: pkgconfig(x11) pkgconfig(xau) pkgconfig(xorg-server) libXdmcp-devel
|
||||||
BuildRequires: systemd keyutils-libs-devel dconf meson itstool
|
BuildRequires: systemd keyutils-libs-devel dconf meson itstool
|
||||||
|
BuildRequires: pkgconfig(gudev-1.0)
|
||||||
|
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
@ -31,7 +32,7 @@ Requires(postun): systemd
|
|||||||
Requires: accountsservice audit-libs >= 1.0.6 dconf gnome-keyring-pam gnome-session
|
Requires: accountsservice audit-libs >= 1.0.6 dconf gnome-keyring-pam gnome-session
|
||||||
Requires: gnome-session-wayland-session gnome-settings-daemon >= 3.27.90 gnome-shell iso-codes
|
Requires: gnome-session-wayland-session gnome-settings-daemon >= 3.27.90 gnome-shell iso-codes
|
||||||
Requires: libXau >= 1.0.4-4 pam >= 0:0.99.8.1-11 util-linux setxkbmap systemd >= 186
|
Requires: libXau >= 1.0.4-4 pam >= 0:0.99.8.1-11 util-linux setxkbmap systemd >= 186
|
||||||
Requires: system-logos xorg-x11-server-utils xorg-x11-xinit
|
Requires: system-logos xorg-x11-server-utils xorg-x11-xinit systemd-pam
|
||||||
|
|
||||||
Provides: service(graphical-login) = %{name}
|
Provides: service(graphical-login) = %{name}
|
||||||
Provides: gdm-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
Provides: gdm-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
@ -154,6 +155,11 @@ fi
|
|||||||
%config %{_sysconfdir}/gdm/PostLogin/*
|
%config %{_sysconfdir}/gdm/PostLogin/*
|
||||||
%config %{_sysconfdir}/gdm/PreSession/*
|
%config %{_sysconfdir}/gdm/PreSession/*
|
||||||
%config %{_sysconfdir}/gdm/PostSession/*
|
%config %{_sysconfdir}/gdm/PostSession/*
|
||||||
|
%config %{_sysconfdir}/pam.d/gdm-autologin
|
||||||
|
%config %{_sysconfdir}/pam.d/gdm-password
|
||||||
|
%config %{_sysconfdir}/pam.d/gdm-smartcard
|
||||||
|
%config %{_sysconfdir}/pam.d/gdm-fingerprint
|
||||||
|
%{_sysconfdir}/pam.d/gdm-launch-environment
|
||||||
%{_sysconfdir}/gdm/Xsession
|
%{_sysconfdir}/gdm/Xsession
|
||||||
%{_sysconfdir}/dbus-1/system.d/gdm.conf
|
%{_sysconfdir}/dbus-1/system.d/gdm.conf
|
||||||
%{_datadir}/gdm/gdm.schemas
|
%{_datadir}/gdm/gdm.schemas
|
||||||
@ -182,6 +188,18 @@ fi
|
|||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 18 2023 wangyoukang <wangyoukang@xfusion.com> - 1:42.0-2
|
||||||
|
- fix gdm.service may kill user service during startup
|
||||||
|
|
||||||
|
* Mon Oct 24 2022 yaoxin <yaoxin30@h-partners.com> - 1:42.0-1
|
||||||
|
- Update to 42.0
|
||||||
|
|
||||||
|
* Wed Feb 22 2022 wulei <wulei80@huawei.com> - 3.38.2-4
|
||||||
|
- Fix gdm.service start failure
|
||||||
|
|
||||||
|
* 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
|
* Wed Jun 23 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.2-2
|
||||||
- Add Omitted Sources1 and Sources5
|
- Add Omitted Sources1 and Sources5
|
||||||
- Add Omitted patches Patch0 and Patch1
|
- Add Omitted patches Patch0 and Patch1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user