Building the DEBs - UG1586

Onload User Guide (UG1586)

Document ID
UG1586
Release Date
2026-01-22
Revision
1.4 English

You can build the following DEBs from the supplied source DEB:

enterpriseonload-user_<version>-1_amd64.deb
Onload user-space runtime. Required to run Onload, together with one of the kernel module DEBs (source, or dkms).
enterpriseonload-source_<version>-1_all.deb
Onload kernel modules as source. Required if you want to maintain the kernel modules yourself.
enterpriseonload-dkms_<version>-1_all.deb
Onload kernel modules as DKMS source. Required if you have DKMS and want it to maintain the kernel modules.
enterpriseonload-dev_<version>-1_all.deb
Onload development header files. Required to build ef_vi or TCPDirect applications, and to use the Onload Control Plane API or the Onload Extensions API.
enterpriseonload-examples-<version>-1_all.deb
Onload example applications. Required to use the Onload example applications.

To build the DEBs:

  1. Untar the source package:
    $ tar xf enterpriseonload_<version>-debiansource.tgz
  2. Extract the source:
    $ dpkg-source -x enterpriseonload_<version>-1.dsc
  3. Build the DEBs:
    $ cd enterpriseonload-<version>
    $ debuild -i -uc -us

    To suppress building DEBs that you do not require, add the following options to the debuild command line as necessary:

    --build-profiles=pkg.onload.nouser
    --build-profiles=pkg.onload.nosource
    --build-profiles=pkg.onload.nodkms
    --build-profiles=pkg.onload.nodev
    --build-profiles=pkg.onload.noexamples
Note: Refer to Build Dependencies for details of build dependencies.

On some non-standard kernels the debuild might fail because of build dependencies. In this event, fix the missing build dependencies, and then retry.