Create a softlink to dpdk default driver path

Signed-off-by: yuelg <yuelg@chinaunicom.cn>
(cherry picked from commit 6512723969d6d9d74d77916d7306f2347c224e9c)
This commit is contained in:
yuelg 2023-04-11 17:07:52 +08:00 committed by openeuler-sync-bot
parent 415d81ef3a
commit 02b8bfb52d

View File

@ -1,6 +1,6 @@
Name: dpdk
Version: 21.11
Release: 39
Release: 40
Packager: packaging@6wind.com
URL: http://dpdk.org
%global source_version 21.11
@ -378,6 +378,8 @@ cd -
cd $RPM_BUILD_ROOT/usr/lib64/dpdk/pmds-22.0/lib
ln -fs ../../../*.so .
cd -
mkdir -p $RPM_BUILD_ROOT/usr/local/lib64/dpdk
ln -fs /usr/lib64/dpdk/pmds-22.0 $RPM_BUILD_ROOT/usr/local/lib64/dpdk/pmds-22.0
strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/rte_kni.ko
strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko
@ -391,6 +393,7 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko
/lib/modules/%{kern_devel_ver}/extra/dpdk/*.ko
/usr/lib64/*.so*
/usr/lib64/dpdk/*
/usr/local/lib64/dpdk/*
%exclude /usr/lib64/dpdk/pmds-22.0/include/*.h
%files devel
@ -426,6 +429,9 @@ strip -g $RPM_BUILD_ROOT/lib/modules/%{kern_devel_ver}/extra/dpdk/igb_uio.ko
/usr/sbin/depmod
%changelog
* Tue Apr 11 2023 bigclouds99 <yuelg@chinaunicom.cn> - 21.11-40
- Create a softlink to dpdk default driver path
* Tue Apr 04 2023 chenjiji <chenjiji09@163.com> - 21.11-39
Sync some patchs from upstreaming branch and modifies
are as follow: