Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ixgbe: Support packaging for DKMS on RHEL/CentOS based systems
To allow easy deployment of out of tree module pack it's source code and configuration for DKMS on RHEL/CentOS using RPM. Building package for future deployment on target system is done using rpmbuild(8) tool: $ cd ixgbe/ $ rpmbuild -ba rpm/ixgbe-dkms.spec ... $ cd .. $ ls -1 noarch/ixgbe[_-]*.rpm ixgbe[_-]*.rpm ixgbe-dkms-5.19.9-1.src.rpm noarch/ixgbe-dkms-5.19.9-1.noarch.rpm Now on target system install above package and it's dependencies: # yum install -y dkms kernel kernel-headers # rpm -ivh ixgbe-dkms-5.19.9-1.noarch.rpm Note that kernel-headers package(s) should be installed for all kernel packages you want to build this module. Verify installation by checking output from rpm(1) and modinfo(8): # modinfo ixgbe -k <kernel_version_to_check> | head -n10 For example: # modinfo ixgbe -k $(uname -r) | head -n10 filename: /lib/modules/3.10.0-1160.108.1.el7.x86_64/extra/ixgbe.ko.xz version: 5.19.9 ^^^^^^ ... module version should match to ixgbe-dkms package version. Signed-off-by: Serhey Popovych <[email protected]>
- Loading branch information