Accepting request 140872 from GNOME:Next
- Fix useradd invocation: -o is useless without -u and newer versions of pwdutils/shadowutils fail on this now. - Switch on systemd support: change with_systemd defines to 1. OBS-URL: https://build.opensuse.org/request/show/140872 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=224
This commit is contained in:
11
gdm.changes
11
gdm.changes
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 11 18:39:36 UTC 2012 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Fix useradd invocation: -o is useless without -u and newer
|
||||||
|
versions of pwdutils/shadowutils fail on this now.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 8 18:57:37 UTC 2012 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Switch on systemd support: change with_systemd defines to 1.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 16 07:10:36 UTC 2012 - dimstar@opensuse.org
|
Tue Oct 16 07:10:36 UTC 2012 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
10
gdm.spec
10
gdm.spec
@@ -19,7 +19,10 @@
|
|||||||
# We can enable systemd support only if we have xorg 1.12, as it means
|
# We can enable systemd support only if we have xorg 1.12, as it means
|
||||||
# starting X with --seat, and only if we build the whole system with
|
# starting X with --seat, and only if we build the whole system with
|
||||||
# systemd support (for instance, NetworkManager).
|
# systemd support (for instance, NetworkManager).
|
||||||
%define with_systemd 0
|
%define with_systemd 1
|
||||||
|
%if %{with_systemd}
|
||||||
|
%define systemdsystemunitdir %(pkg-config --variable=systemdsystemunitdir systemd)
|
||||||
|
%endif
|
||||||
# FIXME: need to check what should be done to enable this (at least adapt the pam files). See bnc#699999
|
# FIXME: need to check what should be done to enable this (at least adapt the pam files). See bnc#699999
|
||||||
%define enable_split_authentication 0
|
%define enable_split_authentication 0
|
||||||
|
|
||||||
@@ -312,7 +315,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%pre
|
%pre
|
||||||
/usr/sbin/groupadd -r gdm 2> /dev/null || :
|
/usr/sbin/groupadd -r gdm 2> /dev/null || :
|
||||||
/usr/sbin/useradd -r -o -g gdm -G video -s /bin/false \
|
/usr/sbin/useradd -r -g gdm -G video -s /bin/false \
|
||||||
-c "Gnome Display Manager daemon" -d /var/lib/gdm gdm 2> /dev/null || :
|
-c "Gnome Display Manager daemon" -d /var/lib/gdm gdm 2> /dev/null || :
|
||||||
/usr/sbin/usermod -g gdm -G video -s /bin/false gdm 2> /dev/null
|
/usr/sbin/usermod -g gdm -G video -s /bin/false gdm 2> /dev/null
|
||||||
# Fix incorrect interpretation of DISPLAYMANAGER_PASSWORD_LESS_LOGIN (#307566).
|
# Fix incorrect interpretation of DISPLAYMANAGER_PASSWORD_LESS_LOGIN (#307566).
|
||||||
@@ -424,6 +427,9 @@ dconf update
|
|||||||
%{_datadir}/gdm/simple-greeter/extensions/password/
|
%{_datadir}/gdm/simple-greeter/extensions/password/
|
||||||
%{_libdir}/gdm/simple-greeter/extensions/libpassword.so
|
%{_libdir}/gdm/simple-greeter/extensions/libpassword.so
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with_systemd}
|
||||||
|
%{systemdsystemunitdir}/gdm.service
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %{enable_split_authentication}
|
%if %{enable_split_authentication}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user