forked from pool/systemd
- spec: make sure /lib exists when installing conf files in /lib/modprobe.d
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1272
This commit is contained in:
parent
2daca11463
commit
2f014da78d
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 4 08:49:40 UTC 2022 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
- spec: make sure /lib exists when installing conf files in /lib/modprobe.d
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 31 12:03:19 UTC 2022 - Franck Bui <fbui@suse.com>
|
Thu Mar 31 12:03:19 UTC 2022 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
@ -774,8 +774,9 @@ rm -f %{buildroot}/etc/systemd/system/default.target
|
|||||||
install -m0644 -D --target-directory=%{buildroot}%{_pam_vendordir} %{SOURCE2}
|
install -m0644 -D --target-directory=%{buildroot}%{_pam_vendordir} %{SOURCE2}
|
||||||
|
|
||||||
# kmod keeps insisting on using /lib on SLE.
|
# kmod keeps insisting on using /lib on SLE.
|
||||||
if [ "%{_modprobedir}" != /usr/lib/modprobe.d ]; then
|
if [ "$(realpath %{_modprobedir})" != /usr/lib/modprobe.d ]; then
|
||||||
mv %{buildroot}/usr/lib/modprobe.d %{buildroot}%{_modprobedir}
|
mkdir -p %{buildroot}%{_modprobedir}
|
||||||
|
mv %{buildroot}/usr/lib/modprobe.d/* %{buildroot}%{_modprobedir}/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# don't enable wall ask password service, it spams every console (bnc#747783)
|
# don't enable wall ask password service, it spams every console (bnc#747783)
|
||||||
|
Loading…
Reference in New Issue
Block a user