Scroll to navigation

PKGOS-MERGE-TEMPLATES(1) Debian OpenStack packaging PKGOS-MERGE-TEMPLATES(1)

NAME

pkgos-merge-templates - merge the shared OpenStack debconf templates into a package

SYNOPSIS

pkgos-merge-templates PKG_NAME TEMPLATE_NAME [TEMPLATE...]

DESCRIPTION

pkgos-merge-templates builds the debian/PKG_NAME.templates debconf templates file of a Debian OpenStack package from the shared templates shipped in /usr/share/openstack-pkg-tools/debconf-templates. It first concatenates an eventual package specific debian/PKG_NAME.templates.in, then all of the requested shared openstack-pkg-tools.configure-<TEMPLATE>.templates files, and rewrites the "Template: ospt/" namespace prefix into "Template: <TEMPLATE_NAME>/". It also merges the .po translation files of the shared templates into debian/po/, and makes sure that debian/po/POTFILES.in lists the templates file. It must be run from the root of the package source tree, and is normally called from debian/rules of each OpenStack package.

OPTIONS

Name of the binary package for which to build the templates, for example "nova-common".
Namespace prefix to use for the Template: fields, typically the package name without the -common suffix, for example "nova".
Name of a shared templates group to concatenate. Available groups are named after the files in /usr/share/openstack-pkg-tools/debconf-templates, for example "configure-db", "configure-endpoint", "configure-keystone-authtoken" and "configure-rabbit".

EXAMPLES

SEE ALSO

debconf-updatepo(1), msgmerge(1), po-debconf(7).

AUTHOR

This script and its man page: (c) 2026, Thomas Goirand <zigo@debian.org>, released under the Apache-2.0 license.

23 September 2026 openstack-pkg-tools