File: package_testing.rst

package info (click to toggle)
cloud-init 25.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,412 kB
  • sloc: python: 135,894; sh: 3,883; makefile: 141; javascript: 30; xml: 22
file content (26 lines) | stat: -rw-r--r-- 771 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.. _package_testing:

Development package builds
**************************

To ease the development and testing of local packaging changes,
development-quality DEB or RPM packages can be built with one of the following
scripts on a build host which already has all system build dependencies
installed:

.. code-block:: bash

   ./packages/brpm --distro=redhat  # or --distro=suse to build an RPM
   ./packages/bddeb -d  # to build a DEB

OR if LXD is present, the full package build can be run in a container:

.. code-block:: bash

   ./tools/run-container ubuntu-daily:plucky --package --keep
   ./tools/run-container rockylinux/9 --package --keep


.. note::

   meson support has not yet been added to the BSDs in :file:`tools/build-on-*bsd` or :file:`meson.build`.