DH_CONSOLEDATA(1)

πŸ’… DH_CONSOLEDATA(1) β€” the manual page, bestie edition

okay so this is a page from the User Contributed Perl Documentation corner of the manual, and it's about a lil Perl script called dh_consoledata. it's giving debhelper sidekick energy. let's get into it 🫢


✨ NAME ✨

dh_consoledata β€” declare console data files πŸŽ€


✨ SYNOPSIS ✨

dh_consoledata [debhelper options] [-n]

✨ DESCRIPTION ✨

so this program is here to help you build a package that ships data files for the console. that's the whole vibe. 🌈

but β€” and this is important, bestie β€” it is still in the early stages of development. many features are still missing or only partly implemented. if you want the full tea, go read /usr/share/doc/console-common/TODO for all the details. πŸ‘€

for now, here's what it actually does: it takes a debian/package.keymaps file, installs it in the package build directory, and creates the debian/package.config and debian/package.templates files. slay. ✨

it also makes the ${console:depends} variable available for the control file. you should reference that variable in the Depends field β€” and you should reference ${perl:depends} there too if you use dh_perl (which, lowkey, you should be calling anyway, because your package is gonna include a perl debconf script). πŸ’–

and ultimately? it should one day let you declare fonts and SFM fallbacks. not yet though. it's the dream. 🌸


✨ OPTIONS ✨

  • -n, --noscripts β€” do not touch the postinst/postrm scripts. leave them alone, they're doing fine. πŸ™ˆ
  • -d β€” install the debconf templates and config script (and add the postinst fragment too, unless -n is also specified), even if there's no debian/package.keymaps file at all. ⚠️ this one is normally meant for internal use, so be careful: the name of the option and its semantics will probably change in the near future, to accommodate for new needs. so don't get too attached, it's going through a phase. πŸ’€

✨ SEE ALSO ✨

  • debhelper(1) πŸ‘‘

also, fun fact: this program is an extension to debhelper. it's basically debhelper's chaotic little cousin. πŸ¦‹


✨ AUTHOR ✨

Yann Dirson <dirson@debian.org> β€” thank you for your service, icon πŸ‘‘


and that's a wrap bestie πŸ’œ this page was brought to you by perl v5.40.1, dated 2026-03-15. go forth and declare your console data files, no cap. πŸŽ€βœ¨

πŸ“¦ where this page comes from