!360 [sync] PR-339: fix a error drivers can not been loaded
From: @openeuler-sync-bot Reviewed-by: @jiangheng12 Signed-off-by: @jiangheng12
This commit is contained in:
commit
536f2d6c8a
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user