commit:     80385f7be49672ccb60c0c19f38f10f55518e214
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 30 22:57:38 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 30 23:30:10 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80385f7b

net-misc/openvswitch: [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>

 net-misc/openvswitch/openvswitch-2.14.1.ebuild | 2 ++
 net-misc/openvswitch/openvswitch-2.15.0.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/net-misc/openvswitch/openvswitch-2.14.1.ebuild 
b/net-misc/openvswitch/openvswitch-2.14.1.ebuild
index cb44e1d8be7..c873cc5a547 100644
--- a/net-misc/openvswitch/openvswitch-2.14.1.ebuild
+++ b/net-misc/openvswitch/openvswitch-2.14.1.ebuild
@@ -123,6 +123,8 @@ src_install() {
 pkg_postinst() {
        use modules && linux-mod_pkg_postinst
 
+       tmpfiles_process openvswitch.conf
+
        # only needed on non-systemd, but helps anyway
        elog "Use the following command to create an initial database for 
ovsdb-server:"
        elog "   emerge --config =${CATEGORY}/${PF}"

diff --git a/net-misc/openvswitch/openvswitch-2.15.0.ebuild 
b/net-misc/openvswitch/openvswitch-2.15.0.ebuild
index 7f44d4ded56..83ea5328d7d 100644
--- a/net-misc/openvswitch/openvswitch-2.15.0.ebuild
+++ b/net-misc/openvswitch/openvswitch-2.15.0.ebuild
@@ -122,6 +122,8 @@ src_install() {
 pkg_postinst() {
        use modules && linux-mod_pkg_postinst
 
+       tmpfiles_process openvswitch.conf
+
        # only needed on non-systemd, but helps anyway
        elog "Use the following command to create an initial database for 
ovsdb-server:"
        elog "   emerge --config =${CATEGORY}/${PF}"

Reply via email to