commit: 7635275fd64e4f8b848eb348eabc9b45bfac36c4 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Sat Sep 4 14:17:56 2021 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sat Sep 4 14:17:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7635275f
sys-apps/systemd-tmpfiles: add warning for prefix users Bug: https://bugs.gentoo.org/806794 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> sys-apps/systemd-tmpfiles/systemd-tmpfiles-249.2.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-249.2.ebuild b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-249.2.ebuild index 04bdfe57698..82c776afc19 100644 --- a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-249.2.ebuild +++ b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-249.2.ebuild @@ -68,6 +68,12 @@ python_check_deps() { has_version -b "dev-python/jinja[${PYTHON_USEDEP}]" } +pkg_pretend() { + if [[ -n ${EPREFIX} ]]; then + ewarn "systemd-tmpfiles uses un-prefixed paths at runtime.". + fi +} + pkg_setup() { python-any-r1_pkg_setup }