diff --git a/README.en.md b/README.en.md deleted file mode 100644 index a93c21b5c408dc13b851b2a3032f4f8fe31c7e36..0000000000000000000000000000000000000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# driver_dlb2 - -#### Description -{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index b71947e25bffb489b824a3e1c9878987b7fd4975..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,39 +0,0 @@ -# driver_dlb2 - -#### 介绍 -{**以下是 Gitee 平台说明,您可以替换此简介** -Gitee 是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN)。专为开发者提供稳定、高效、安全的云端软件开发协作平台 -无论是个人、团队、或是企业,都能够用 Gitee 实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)} - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/kmod-intel_dlb2-7.7.0.tar.gz b/kmod-intel_dlb2-7.7.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f009516a4d30781cbb8c3921fe7eadacaa14f43f Binary files /dev/null and b/kmod-intel_dlb2-7.7.0.tar.gz differ diff --git a/kmod-intel_dlb2.spec b/kmod-intel_dlb2.spec new file mode 100644 index 0000000000000000000000000000000000000000..a876d9776fc1ab8d667b697a6491b17c004a5977 --- /dev/null +++ b/kmod-intel_dlb2.spec @@ -0,0 +1,60 @@ +%define anolis_release 3 + +%global debug_package %{nil} +%global kernel_version %(rpm -qa kernel-devel | sed -e 's/kernel-devel-//g') + +Name: kmod-intel_dlb2 +Version: 7.7.0 +Release: %{anolis_release}%{?dist} +Summary: Intel DLB2 Driver + +License: GPLv3+ +URL: https://www.intel.com/content/www/us/en/download/686372/intel-dynamic-load-balancer.html +Source0: https://downloadmirror.intel.com/734482/%{name}-%{version}.tar.gz +Source1: kmod-intel_dlb2-7.7.0.tar.gz + +ExclusiveArch: x86_64 + +Requires: kernel-modules >= 5.10.112 + +BuildRequires: gcc +BuildRequires: make +BuildRequires: kernel >= 5.10.112 +BuildRequires: kernel-devel >= 5.10.112 + +%description +Implementation of the dlb2 driver + +%prep +%setup -q + +%build +%make_build + +%install +make modules DESTDIR="%{?buildroot}" +mkdir -p %{buildroot}/lib/modules/%{kernel_version}/extra +cp -ap dlb2.ko %{buildroot}/lib/modules/%{kernel_version}/extra + +%post +depmod -a +modprobe vfio +modprobe mdev +modprobe dlb2 + +%postun +rmmod dlb2 + +%files +%doc README +/lib/modules/%{kernel_version}/extra/dlb2.ko + +%changelog +* Thu Mar 7 2023 Guanjun - 7.7.0-3 +- update dlb2 spec + +* Wed Sep 7 2022 Guanjun - 7.7.0-2 +- rename the package name to kmod-intel_dlb2 + +* Thu Aug 11 2022 root - 7.7.0-1 +- dlb2 driver rpm package