From cdfcddde315de7cb44584504afc3564fe5a19ff9 Mon Sep 17 00:00:00 2001 From: Gabriel Brascher Date: Tue, 12 Jan 2021 15:31:39 -0300 Subject: [PATCH] Add documentation for packaging/build-deb.sh --- source/installguide/building_from_source.rst | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/source/installguide/building_from_source.rst b/source/installguide/building_from_source.rst index 21000e6192..e7b6e64014 100644 --- a/source/installguide/building_from_source.rst +++ b/source/installguide/building_from_source.rst @@ -271,14 +271,15 @@ running: $ mvn -P deps Now that we have resolved the dependencies we can move on to building -CloudStack and packaging them into DEBs by issuing the following -command. +CloudStack and packaging them into DEBs by running the script in ``packaging`` folder: + .. parsed-literal:: - $ dpkg-buildpackage -uc -us + $ cd packaging/ + $ ./build-deb.sh -This command will build the following debian packages. You should have +This script will build the following debian packages. You should have all of the following: .. parsed-literal:: @@ -573,3 +574,11 @@ to build from source. #. Once you've built CloudStack with the ``noredist`` profile, you can package it using the `“Building RPMs from Source” <#building-rpms-from-source>`_ or `“Building DEB packages” <#building-deb-packages>`_ instructions. + +.. note:: + + In case you are building debian packages via script ``packaging/build-deb.sh``, you will need to export the following configuration: + +.. parsed-literal:: + + $ export ACS_BUILD_OPTS="-Dnoredist -Dnonoss"