commit: f584990c08fc5a400277acfeaf01297f1d3b995b
Author: Paul Varner <fuzzyray <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 16 20:00:54 2015 +0000
Commit: Paul Varner <fuzzyray <AT> gentoo <DOT> org>
CommitDate: Fri Oct 16 20:12:16 2015 +0000
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=f584990c
revdep-rebuild: add tmpfiles.d file
Add a configuration file to create /var/cache/revdep-rebuild.
This is needed for fixing bug 498990 in the gentoolkit ebuild.
data/tmpfiles.d/revdep-rebuild.conf | 1 +
setup.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/data/tmpfiles.d/revdep-rebuild.conf
b/data/tmpfiles.d/revdep-rebuild.conf
new file mode 100644
index 0000000..2437bcf
--- /dev/null
+++ b/data/tmpfiles.d/revdep-rebuild.conf
@@ -0,0 +1 @@
+d /var/cache/revdep-rebuild 0700 0 0
diff --git a/setup.py b/setup.py
index ae4b7c7..b32b7d6 100755
--- a/setup.py
+++ b/setup.py
@@ -151,6 +151,7 @@ core.setup(
(os.path.join(os.sep, EPREFIX.lstrip(os.sep),
'etc/revdep-rebuild'), ['data/revdep-rebuild/99revdep-rebuild']),
(os.path.join(os.sep, EPREFIX.lstrip(os.sep), 'etc/eclean'),
glob('data/eclean/*')),
(os.path.join(os.sep, EPREFIX.lstrip(os.sep),
'usr/share/man/man1'), glob('man/*')),
+ (os.path.join(os.sep, EPREFIX.lstrip(os.sep),
'etc/tmpfiles.d'), ['data/tmpfiles.d/revdep-rebuild.conf']),
),
cmdclass={
'test': load_test(),