Accepting request 969365 from home:mwilck:modprobe.d
- Run modprobe.conf handling scriptlets in -compat subpackage (bsc#1198322) OBS-URL: https://build.opensuse.org/request/show/969365 OBS-URL: https://build.opensuse.org/package/show/science:HPC/libpsm2?expand=0&rev=63
This commit is contained in:
parent
3492f63b9c
commit
dbd401b0fe
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 11 20:24:48 UTC 2022 - Martin Wilck <mwilck@suse.com>
|
||||
|
||||
- Run modprobe.conf handling scriptlets in -compat subpackage (bsc#1198322)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 4 12:41:50 UTC 2022 - Martin Wilck <mwilck@suse.com>
|
||||
|
||||
|
@ -108,7 +108,7 @@ rm %{buildroot}/usr/lib/%name/libpsm2-compat.cmds
|
||||
# remove static library
|
||||
rm %{buildroot}%{_libdir}/libpsm2.a
|
||||
|
||||
%pre
|
||||
%pre compat
|
||||
# Avoid restoring outdated stuff in posttrans
|
||||
for _f in %{?modprobe_d_files}; do
|
||||
[ ! -f "/etc/modprobe.d/${_f}.rpmsave" ] || \
|
||||
@ -120,7 +120,7 @@ done
|
||||
%post compat -p /sbin/ldconfig
|
||||
%postun compat -p /sbin/ldconfig
|
||||
|
||||
%posttrans
|
||||
%posttrans compat
|
||||
# Migration of modprobe.conf files to _modprobedir
|
||||
for _f in %{?modprobe_d_files}; do
|
||||
[ ! -f "/etc/modprobe.d/${_f}.rpmsave" ] || \
|
||||
|
Loading…
x
Reference in New Issue
Block a user