commit:     4b6fd057b47979a6d444aa79f920c08a3203e7a1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 22:59:17 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 23:30:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b6fd057

sys-cluster/slurm: [QA] call tmpfiles_process in pkg_postinst

This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-cluster/slurm/slurm-20.11.0.1-r101.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-cluster/slurm/slurm-20.11.0.1-r101.ebuild 
b/sys-cluster/slurm/slurm-20.11.0.1-r101.ebuild
index f8a84798d70..f964ff1a8d4 100644
--- a/sys-cluster/slurm/slurm-20.11.0.1-r101.ebuild
+++ b/sys-cluster/slurm/slurm-20.11.0.1-r101.ebuild
@@ -250,6 +250,8 @@ pkg_postinst() {
        done
        echo
 
+       tmpfiles_process slurm.conf
+
        elog "Please visit the file '/usr/share/doc/${P}/html/configurator.html"
        elog "through a (javascript enabled) browser to create a configureation 
file."
        elog "Copy that file to /etc/slurm/slurm.conf on all nodes (including 
the headnode) of your cluster."

Reply via email to