Le Thu, Sep 14, 2017 at 02:25:41PM +0200, Thomas Schmitt a écrit : > What is meant by "DEBIAN/triggers" in policy manual and man 5 deb-triggers ? > Is there supposed to be a "DEBIAN" directory under ./debian ?
Hi Thomas, the `DEBIAN` directory is created in the process of building in binary packages. In the binary packages themselves, its contents become the contents of the `control.tar.gz` member. For a package "p", the file DEBIAN/triggers is installed in `/var/lib/dpkg/info/p.triggers`. You can find many real examples there. In particular, for libraries complying with the Policy, you will see that this file indeed "activate-noawait" the "ldconfig" trigger. For packages built using Debhelper, the triggers files is added by `dh_makeshlibs`, which explains why you can not see traces of it in the clean source package. I hope it clarifies. Have a nice day, -- Charles Plessy Debian Med packaging team, http://www.debian.org/devel/debian-med Tsurumi, Kanagawa, Japan