- 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
b20d6fcb13
commit
46c4597556
@ -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>
|
||||
|
||||
|
@ -774,8 +774,9 @@ rm -f %{buildroot}/etc/systemd/system/default.target
|
||||
install -m0644 -D --target-directory=%{buildroot}%{_pam_vendordir} %{SOURCE2}
|
||||
|
||||
# kmod keeps insisting on using /lib on SLE.
|
||||
if [ "%{_modprobedir}" != /usr/lib/modprobe.d ]; then
|
||||
mv %{buildroot}/usr/lib/modprobe.d %{buildroot}%{_modprobedir}
|
||||
if [ "$(realpath %{_modprobedir})" != /usr/lib/modprobe.d ]; then
|
||||
mkdir -p %{buildroot}%{_modprobedir}
|
||||
mv %{buildroot}/usr/lib/modprobe.d/* %{buildroot}%{_modprobedir}/
|
||||
fi
|
||||
|
||||
# don't enable wall ask password service, it spams every console (bnc#747783)
|
||||
|
Loading…
Reference in New Issue
Block a user