Change %post script to %posttrans
(cherry picked from commit 6dedbbd8153e9d3f594cb3d6d58d8833bb521d45)
This commit is contained in:
parent
828e61f563
commit
6a15e1cf24
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Name: dpdk
|
Name: dpdk
|
||||||
Version: 23.11
|
Version: 23.11
|
||||||
Release: 24
|
Release: 25
|
||||||
URL: http://dpdk.org
|
URL: http://dpdk.org
|
||||||
Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
|
Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
|
||||||
|
|
||||||
@ -291,7 +291,7 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko
|
|||||||
%doc %{sdkdir}/examples
|
%doc %{sdkdir}/examples
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post
|
%posttrans
|
||||||
if [ -e /sbin/weak-modules ]; then
|
if [ -e /sbin/weak-modules ]; then
|
||||||
echo "/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko" | /sbin/weak-modules --add-modules --no-initramfs
|
echo "/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko" | /sbin/weak-modules --add-modules --no-initramfs
|
||||||
fi
|
fi
|
||||||
@ -306,6 +306,9 @@ fi
|
|||||||
/usr/sbin/depmod
|
/usr/sbin/depmod
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 17 2024 chendexi <chendexi@kylinos.cn> - 23.11-25
|
||||||
|
- Change %post script to %posttrans.
|
||||||
|
|
||||||
* Mon Nov 11 2024 huangdengdui <huangdengui@huawei.com> - 23.11-24
|
* Mon Nov 11 2024 huangdengdui <huangdengui@huawei.com> - 23.11-24
|
||||||
Sync some patchs from upstreaming, includind some bugfixes, hns3 pmd
|
Sync some patchs from upstreaming, includind some bugfixes, hns3 pmd
|
||||||
flow rule priority feature, hns3 pmd outer VLAN flow match feature,
|
flow rule priority feature, hns3 pmd outer VLAN flow match feature,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user