Skip to content

Commit

Permalink
ON-13196: Add onload_mkpackage for easy package distribution and install
Browse files Browse the repository at this point in the history
  • Loading branch information
pcolledg-amd committed Nov 4, 2024
1 parent 310033b commit 89fb227
Show file tree
Hide file tree
Showing 5 changed files with 636 additions and 94 deletions.
19 changes: 19 additions & 0 deletions DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,25 @@ Distributing as tarball
target machine. Note that the built tarball can be installed with `--debug`
to enable debugging mode, which provides additional logging and error-checking.

Distributing as DEB or RPM package
==================================

To install Onload from source as DEB or RPM packages:

./scripts/onload_mkpackage --install

This script can also just build binary packages (omit `--install`), including
those for different Redhat-based distributions (use `--mock-config`), or
just create source packages (use `--only-source-packages`). It can also
build specific packages (eg. `--devel --user`) and variants (eg. `--debug`).

Official Onload release bundles include the mkdist tarball detailed in
'Distributing as tarball' above, along with source packages. The User Guide
details the standard distribution build tools and package managers for
installing these source packages. Alternatively, these artifacts can simply
be specified as command line arguments to `onload_mkpackage` for use as inputs
in place of the current working tree.

Distributing as container image
===============================

Expand Down
89 changes: 0 additions & 89 deletions scripts/onload_misc/onload-make-official-srpm

This file was deleted.

1 change: 1 addition & 0 deletions scripts/onload_misc/onload-make-official-srpm
5 changes: 0 additions & 5 deletions scripts/onload_mkdkms

This file was deleted.

1 change: 1 addition & 0 deletions scripts/onload_mkdkms
Loading

0 comments on commit 89fb227

Please sign in to comment.