From 6a15e1cf243a10f73e80e0f4fa091a49f2f80689 Mon Sep 17 00:00:00 2001 From: chendexi Date: Tue, 17 Dec 2024 10:01:36 +0800 Subject: [PATCH] Change %post script to %posttrans (cherry picked from commit 6dedbbd8153e9d3f594cb3d6d58d8833bb521d45) --- dpdk.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dpdk.spec b/dpdk.spec index b444627..e74048c 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -11,7 +11,7 @@ Name: dpdk Version: 23.11 -Release: 24 +Release: 25 URL: http://dpdk.org 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 %endif -%post +%posttrans if [ -e /sbin/weak-modules ]; then echo "/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko" | /sbin/weak-modules --add-modules --no-initramfs fi @@ -306,6 +306,9 @@ fi /usr/sbin/depmod %changelog +* Tue Dec 17 2024 chendexi - 23.11-25 +- Change %post script to %posttrans. + * Mon Nov 11 2024 huangdengdui - 23.11-24 Sync some patchs from upstreaming, includind some bugfixes, hns3 pmd flow rule priority feature, hns3 pmd outer VLAN flow match feature, -- Gitee