You can build the Napatech driver and tools RPMs in one step from SRPMs, or you can modify the spec files before building to suit your requirements.
About this task
You can build the RPMs in one step from SRPMs if you don't need to edit the spec files; see Building RPMs Directly From SRPMs.
-
Remove the dependency on nt-driver-3gd-modules and add a dependency on kernel headers to take advantage of automatic kernel module build.
-
Remove systemd integration or add support for Upstart or SystemV in place of systemd. See examples of Upstart and SystemV scripts in /opt/napatech3/examples/integration/ (in the nt-driver-3gd-examples package) or in DN-0449.
Note: If you want to build RPMs for a Linux distribution without systemd, for example RHEL 6 or CentOS 6, you must edit nt-driver-3gd.spec to remove systemd support. -
Modify the ncurses package name if it differs in your distribution.
-
Modify the kernel headers package name if it differs in your distribution.
Steps
If you want to modify the spec files before building RPMs, the typical workflow will be:
Procedure
- Install SRPMs
- Edit spec files
- Build RPMs from spec files