rpm.mk

rpm-package

Synopsis: make rpm-package

Hooks: rpm-pre-package, rpm-post-package

Variables:

Variable

Description

VERSION

<semver tag of image> - defaults to release key in .release file

RELEASE_CONTEXT

<directory holding .release file>

RPM_OUT_DIR

<output directory for rpm package> - default build/rpm

ADDITIONAL_CMAKE_PARAMS

<additional params to pass to the cmake command> - default empty

Call cmake to generate an RPM artefact with the SKAO manifest metadata included and put the output in RPM_OUT_DIR.

rpm-publish

Synopsis: make rpm-publish

Hooks: rpm-pre-publish, rpm-post-publish

Variables:

Variable

Description

VERSION

<semver tag of image> - defaults to release key in .release file

RELEASE_CONTEXT

<directory holding .release file>

RPM_OUT_DIR

<output directory for rpm package> - default build/rpm

Publish the RPM package from the RPM_OUT_DIR directory.