diff --git a/docs/source/developers/guides/code/builds.rst b/docs/source/developers/guides/code/builds.rst index 8ffb9eef9..9f7f5cbe3 100644 --- a/docs/source/developers/guides/code/builds.rst +++ b/docs/source/developers/guides/code/builds.rst @@ -9,6 +9,17 @@ Clone the xCAT project from `GitHub `_:: cd xcat-core ./buildcore.sh +To build the source rpms and no binary rpms, set ``SRCONLY``:: + + cd xcat-core + ./buildcore.sh SRCONLY=1 + +A source rpm is the input that a build service such as mock, koji, COPR or OBS +takes, and it lets one machine make the source rpms while another makes the +binary rpms for each architecture. ``rpmbuild`` does not need the packages named +in ``BuildRequires`` to make a source rpm, so this also builds on a machine that +cannot complete a full build. ``SRCONLY`` is not supported on AIX. + xcat-deps ---------