Skip to content

Commit 2fc635b

Browse files
Add documentation for packaging/build-deb.sh (apache#178)
1 parent ecba1c9 commit 2fc635b

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
@@ -271,14 +271,15 @@ running:
271271
$ mvn -P deps
272272
273273
Now that we have resolved the dependencies we can move on to building
274-
CloudStack and packaging them into DEBs by issuing the following
275-
command.
274+
CloudStack and packaging them into DEBs by running the script in ``packaging`` folder:
275+
276276

277277
.. parsed-literal::
278278
279-
$ dpkg-buildpackage -uc -us
279+
$ cd packaging/
280+
$ ./build-deb.sh
280281
281-
This command will build the following debian packages. You should have
282+
This script will build the following debian packages. You should have
282283
all of the following:
283284

284285
.. parsed-literal::
@@ -573,3 +574,11 @@ to build from source.
573574
#. Once you've built CloudStack with the ``noredist`` profile, you can
574575
package it using the `“Building RPMs from Source” <#building-rpms-from-source>`_
575576
or `“Building DEB packages” <#building-deb-packages>`_ instructions.
577+
578+
.. note::
579+
580+
In case you are building debian packages via script ``packaging/build-deb.sh``, you will need to export the following configuration:
581+
582+
.. parsed-literal::
583+
584+
$ export ACS_BUILD_OPTS="-Dnoredist -Dnonoss"

0 commit comments

Comments
 (0)