On Mon, 2021-08-02 at 01:28 -0700, Georgy Yakovlev wrote: > it can actually check if ebuild calls tmpfiles_process, not only > inherit. > something like: > > local pkg_postinst_body="$(declare -fp pkg_postinst)" > if [[ ! ${pkg_postinst_body} == *tmpfiles_process* ]]; then > eqawarn "QA Notice: package is installing tmpfiles without > calling > eqawarn "tmpfiles_process in pkg_postinst phase" > fi > > ofc accounting for edge cases floppym mentioned.
This is going to cause false positives if tmpfiles_process is called via another function. -- Best regards, Michał Górny