Skip to content

Commit 2eefa2c

Browse files
GabrielBrascherDaan Hoogland
authored andcommitted
Add documentation for packaging/build-deb.sh (apache#178)
1 parent dae988c commit 2eefa2c

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

source/installguide/building_from_source.rst

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,14 +275,15 @@ running:
275275
$ mvn -P deps
276276
277277
Now that we have resolved the dependencies we can move on to building
278-
CloudStack and packaging them into DEBs by issuing the following
279-
command.
278+
CloudStack and packaging them into DEBs by running the script in ``packaging`` folder:
279+
280280

281281
.. parsed-literal::
282282
283-
$ dpkg-buildpackage -uc -us
283+
$ cd packaging/
284+
$ ./build-deb.sh
284285
285-
This command will build the following debian packages. You should have
286+
This script will build the following debian packages. You should have
286287
all of the following:
287288

288289
.. parsed-literal::
@@ -579,3 +580,11 @@ to build from source.
579580
#. Once you've built CloudStack with the ``noredist`` profile, you can
580581
package it using the `“Building RPMs from Source” <#building-rpms-from-source>`_
581582
or `“Building DEB packages” <#building-deb-packages>`_ instructions.
583+
584+
.. note::
585+
586+
In case you are building debian packages via script ``packaging/build-deb.sh``, you will need to export the following configuration:
587+
588+
.. parsed-literal::
589+
590+
$ export ACS_BUILD_OPTS="-Dnoredist -Dnonoss"

0 commit comments

Comments
 (0)