Scroll to navigation

DH_PACKAGE_NOTES(1) User Contributed Perl Documentation DH_PACKAGE_NOTES(1)

NAME

dh_package_notes - Add package metadata to ELF header

SYNOPSIS

dh_package_notes

DESCRIPTION

dh_package_notes is a debhelper program that creates a linker script to include package metadata in ELF binaries built by packages.

The package metadata specification for ELF binaries can be found at <https://systemd.io/COREDUMP_PACKAGE_METADATA/>.

dh_package_notes creates a linker script in a fixed location at debian/.debhelper/notes.ld with the package type set to deb, the package name and version set to the source package name and version respectively, and the os and osVersion fields set to the values of the ID and VERSION_ID fields found in /etc/os-release. Simply add dh-sequence-package-notes to the Build-Depends or add --with package_notes to the dh $@ call to make this happen.

The package using dh_package_notes also needs to manually set in debian/rules include /usr/share/debhelper/dh_package_notes/package-notes.mk as it is not possible to do so from a debhelper addon.

SEE ALSO

debhelper(7)

AUTHOR

Luca Boccassi <bluca@debian.org>

2022-04-10 perl v5.32.1