diff options
author | Paride Legovini <paride.legovini@canonical.com> | 2020-10-19 22:59:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-19 14:59:16 -0600 |
commit | 5a7f6818083118b45828fa0b334309449881f80a (patch) | |
tree | d0a0ca04fd8cfc2aebc5ca667f854619c7452429 /doc | |
parent | b94962b558e929a365bcfad1ca9a9445eee575e8 (diff) | |
download | vyos-cloud-init-5a7f6818083118b45828fa0b334309449881f80a.tar.gz vyos-cloud-init-5a7f6818083118b45828fa0b334309449881f80a.zip |
bddeb: new --packaging-branch argument to pull packaging from branch (#576)
bddeb builds a .deb package using the template packaging files in
packages/debian/.
The new --packaging-branch flag allows to specify a git branch
where to pull the packaging (i.e. the debian/ directory) from.
This is useful to build a .deb package from master with the very
same packaging which is used for the uploads.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/rtd/topics/cloud_tests.rst | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/rtd/topics/cloud_tests.rst b/doc/rtd/topics/cloud_tests.rst index e4e893d2..0fbb1301 100644 --- a/doc/rtd/topics/cloud_tests.rst +++ b/doc/rtd/topics/cloud_tests.rst @@ -151,17 +151,20 @@ cloud-init located in a different directory, use the option ``--cloud-init Bddeb ----- -The ``bddeb`` command can be used to generate a deb file. This is used by -the tree_run and tree_collect commands to build a deb of the current -working tree. It can also be used a user to generate a deb for use in other -situations and avoid needing to have all the build and test dependencies -installed locally. +The ``bddeb`` command can be used to generate a deb file. This is used by the +tree_run and tree_collect commands to build a deb of the current working tree +using the packaging template contained in the ``packages/debian/`` directory. +It can also be used to generate a deb for use in other situations and avoid +needing to have all the build and test dependencies installed locally. * ``--bddeb-args``: arguments to pass through to bddeb * ``--build-os``: distribution to use as build system (default is xenial) * ``--build-platform``: platform to use for build system (default is lxd) * ``--cloud-init``: path to base of cloud-init tree (default is '.') * ``--deb``: path to write output deb to (default is '.') +* ``--packaging-branch``: import the ``debian/`` packaging directory + from the specified branch (default: ``ubuntu/devel``) instead of using + the packaging template. Setup Image ----------- |