commit:     8ded447a1d194ad0190a174f7bb330417685d861
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 10 16:51:02 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Apr 10 17:19:57 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=8ded447a

install-qa-check.d/20runtime-directories: warn on /var/tmp too

Bug: https://bugs.gentoo.org/493154
Bug: https://bugs.gentoo.org/837536
Signed-off-by: Sam James <sam <AT> gentoo.org>

 bin/install-qa-check.d/20runtime-directories | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/install-qa-check.d/20runtime-directories 
b/bin/install-qa-check.d/20runtime-directories
index 2e21d6d04..3dc52f425 100644
--- a/bin/install-qa-check.d/20runtime-directories
+++ b/bin/install-qa-check.d/20runtime-directories
@@ -1,10 +1,10 @@
 # Check for directories that need to be created at runtime
 
 runtime_dir_check() {
-       # It's ok create these directories, but not to install into them. 
#493154
+       # It's ok to create these directories, but not to install into them. 
#493154
        # TODO: We should add var/lib to this list.
        local x f=
-       for x in var/cache var/lock var/run run ; do
+       for x in var/cache var/lock var/run var/tmp run ; do
                if [[ ! -L ${ED}/${x} && -d ${ED}/${x} ]] ; then
                        if [[ -z $(find "${ED}/${x}" -prune -empty) ]] ; then
                                f+=$(cd "${ED}"; find "${x}" -printf '  %p\n')

Reply via email to