man(8)
β¨ man(8) β pkgos.make β¨
okay bestie, buckle up π this is the man(8) page for pkgos.make, and it's literally the little helper script that carries Debian OpenStack maintainers on its back. no cap.
π NAME π
pkgos.make β a helper with useful functions for maintainers. that's it, that's the vibe. π
π¦ SYNOPSIS π¦
pkgos.make
yes queen, no arguments. she just is. β¨
πΈ DESCRIPTION πΈ
so pkgos.make takes the existing .init.in file and uses it to generate the appropriate init script β and it'll spit out a systemd unit too, if those files aren't already there. and honestly? that's not even the whole serve. this make file also contains a bunch of common functions that are genuinely useful for maintainers, and here's every single one, no gatekeeping:
-gen-init-configurationsβ this function is the one responsible for generating the init script and the systemd unit. the whole origin story. π-gen-author-listβ generates a list of authors, taken straight fromgit log. credit where credit is due, periodt.-gen-upstream-changelogβ generates the changelog file for the debian distribution, also fromgit log. receipts! π-get-orig-sourceβ downloads the new upstream tarball by usinguscan. fetch, but make it classy.-fetch-upstream-remoteβ downloads the package from the upstream, which lives athttps://github.com/openstack/<package_name>. the package_name is determined by the package of the current directory. she knows where she is, iykyk.-gen-orig-(xz|gz|bz2)β creates the original tarball by using the(xz|gz|bz2)data compressor. pick your fighter π«Ά-get-master-branchβ creates the master branch. main character energy, literally.-get-vcs-sourceβ this one is the pipeline of the functionsfetch-upstream-remote,gen-orig-xz, andget-master-branch. a whole combo, a whole routine, she ate. π₯-versioninfoβ writes the package version to theversioninfofile. short, sweet, iconic.-display-po-statsβ displays the number of translated messages for each.pofile indebian/po. multilingual slay π-call-for-po-transβ this function callspodebconf-report-powith specific parameters. summoning the translators π-regen-manifest-patchβ generates a list of all the files of the package and writes it to theMANIFEST.in. inventory? tracked. π
π« EXAMPLES π«
so to call any of the functions up there, you use this next syntax:
./debian/rules <function_name>
that's the whole ritual. go off. β¨
π SEE ALSO π
pkgos-gen-systemd-unit(8)pkgos-gen-upstart-job(8)uscan(1)podebconf-report-po(1)quilt(1)
the friend group π go read them too.
π BUGS π
No known bugs. not a single one. she's flawless fr fr (do not test this energy, bestie π).
π«Ά AUTHOR π«Ά
- The script is written by Thomas Goirand
<zigo@debian.org> - The man page is written by Andrii Kroshchenko
<akroshchenko@mirantis.com>
version 45.0, dated 02 Jun 2016 β and this was the man(8) page for the pkgos.make package, and that's the whole tea. mwah π
β¨π
π¦ where this page comes from
- debian bookworm: openstack-pkg-tools 123 Β· Apache-2
- debian trixie: openstack-pkg-tools 135 Β· Apache-2
- ubuntu jammy: openstack-pkg-tools 119 Β· Apache-2
- ubuntu noble: openstack-pkg-tools 123ubuntu2 Β· Apache-2
- ubuntu questing: openstack-pkg-tools 135ubuntu1
- ubuntu resolute: openstack-pkg-tools 141 Β· Apache-2
- ubuntu stonking: openstack-pkg-tools 144ubuntu1 Β· Apache-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms