From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B82921580B3 for ; Sat, 4 Sep 2021 14:19:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA72FE0829; Sat, 4 Sep 2021 14:19:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4966E0829 for ; Sat, 4 Sep 2021 14:19:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D0C0233E362 for ; Sat, 4 Sep 2021 14:19:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 155159E for ; Sat, 4 Sep 2021 14:19:20 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1630765076.7635275fd64e4f8b848eb348eabc9b45bfac36c4.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd-tmpfiles/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/systemd-tmpfiles/systemd-tmpfiles-249.2.ebuild X-VCS-Directories: sys-apps/systemd-tmpfiles/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 7635275fd64e4f8b848eb348eabc9b45bfac36c4 X-VCS-Branch: master Date: Sat, 4 Sep 2021 14:19:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 398c5684-638f-4387-8eb5-ac569d9a5a25 X-Archives-Hash: 51072adca9176ddab072cd7a18198217 commit: 7635275fd64e4f8b848eb348eabc9b45bfac36c4 Author: Mike Gilbert gentoo org> AuthorDate: Sat Sep 4 14:17:56 2021 +0000 Commit: Mike Gilbert gentoo 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 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 }