This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git
The following commit(s) were added to refs/heads/master by this push:
new 2fc635b Add documentation for packaging/build-deb.sh (#178)
2fc635b is described below
commit 2fc635b58165a26508eaf2b8a7256d0ecca6e426
Author: Gabriel Beims Bräscher <[email protected]>
AuthorDate: Wed Jan 13 21:36:33 2021 -0300
Add documentation for packaging/build-deb.sh (#178)
---
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 21000e6..e7b6e64 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"