Thanks for visiting!
While Intel's QAT RPM driver builds kernel module on target machine, this RPM package delivers pre-built kernel module.
It was my first RPM packaging experience and took a few nights .. and tons of ☕ to package QAT driver to RPM.
You can now buy me a coffee! 😄
On the redhat/centos machine with appropriate kernel-devel
package installed,
you can build QAT rpm with the following command:
# docker run -it -v/usr/src:/usr/src -v/lib/modules:/lib/modules -v/tmp:/tmp -e"kver=$(uname -r)" cwyang/qatrpm
If you want to build against non-default kernel, you can designate kernel version with kver
environment variable.
The following data can be specified by rpmbuild --define "key value"
:
- orgname [RPM build files are located to
/opt/{orgname}
] - kver [Kernel version to build driver. Use running kernel if omitted]
- privkey [Kernel module signing private key file. No sign if omited]
- pubkey [Kernel module signing public key file]