- Rename PAM config file 'systemd-user' into 'pam.systemd-user'.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1527
This commit is contained in:
Franck Bui 2024-05-31 14:26:42 +00:00 committed by Git OBS Bridge
parent 6230e4e0f0
commit 6c60518791
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 31 12:49:46 UTC 2024 - Franck Bui <fbui@suse.com>
- Rename PAM config file 'systemd-user' into 'pam.systemd-user'.
-------------------------------------------------------------------
Fri May 31 11:37:10 UTC 2024 - Franck Bui <fbui@suse.com>

View File

@ -195,7 +195,6 @@ Obsoletes: suspend <= 1.0
Obsoletes: systemd-analyze < 201
Source0: systemd-v%{version}%{archive_version}.tar.xz
Source1: systemd-rpmlintrc
Source2: systemd-user
Source3: systemd-update-helper
%if %{with sysvcompat}
Source4: systemd-sysv-install
@ -203,6 +202,7 @@ Source4: systemd-sysv-install
Source5: tmpfiles-suse.conf
Source6: baselibs.conf
Source7: triggers.systemd
Source8: pam.systemd-user
Source14: kbd-model-map.legacy
Source100: fixlet-container-post.sh
@ -927,8 +927,8 @@ mkdir -p %{buildroot}%{_modulesloaddir}
rm -rf %{buildroot}%{_sysconfdir}/systemd/system/*.target.{requires,wants}
rm -f %{buildroot}%{_sysconfdir}/systemd/system/default.target
# Replace upstream systemd-user with the openSUSE one.
install -m0644 -D --target-directory=%{buildroot}%{_pam_vendordir} %{SOURCE2}
# Replace upstream PAM configuration files with openSUSE ones.
install -m0644 -D %{SOURCE8} %{buildroot}%{_pam_vendordir}/systemd-user
# Don't enable wall ask password service, it spams every console (bnc#747783).
rm %{buildroot}%{_unitdir}/multi-user.target.wants/systemd-ask-password-wall.path