From 3c5d105b38caae8a2bda412fd505abaadccc0ef4 Mon Sep 17 00:00:00 2001 From: chendexi Date: Wed, 18 Dec 2024 01:46:45 +0000 Subject: [PATCH] Change %post script to %posttrans Signed-off-by: chendexi --- dpdk.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dpdk.spec b/dpdk.spec index 8673290..e2cf869 100644 --- a/dpdk.spec +++ b/dpdk.spec @@ -1,6 +1,6 @@ Name: dpdk Version: 21.11 -Release: 79 +Release: 80 Packager: packaging@6wind.com URL: http://dpdk.org %global source_version 21.11 @@ -669,7 +669,7 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko /usr/local/bin/dpdk-ptpclient /usr/local/bin/gazelle-pdump -%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 echo "/lib/modules/%{kern_devel_ver}/extra/dpdk/rte_kni.ko" | /sbin/weak-modules --add-modules --no-initramfs @@ -686,6 +686,9 @@ fi /usr/sbin/depmod %changelog +* Wed Dec 18 2024 chendexi - 21.11-80 +- Change %post script to %posttrans. + * Thu Oct 31 2024 yangchen - 21.11-79 net/af_xdp: fix getsockopt ENOTSOCK error -- Gitee