1 |
commit: 8cd2b4c8c0afc62d40af8e0d220ec9408698bd7f |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 30 22:57:17 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 30 23:30:08 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cd2b4c8 |
7 |
|
8 |
net-misc/dhcp: [QA] call tmpfiles_process in pkg_postinst |
9 |
|
10 |
This is needed to actually apply the tmpfiles configuration |
11 |
we've installed in the ebuild. See tmpfiles.eclass documentation. |
12 |
|
13 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
14 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
15 |
|
16 |
net-misc/dhcp/dhcp-4.4.2_p1-r1.ebuild | 4 ++++ |
17 |
1 file changed, 4 insertions(+) |
18 |
|
19 |
diff --git a/net-misc/dhcp/dhcp-4.4.2_p1-r1.ebuild b/net-misc/dhcp/dhcp-4.4.2_p1-r1.ebuild |
20 |
index 57fd8dd47f4..7ae208514c6 100644 |
21 |
--- a/net-misc/dhcp/dhcp-4.4.2_p1-r1.ebuild |
22 |
+++ b/net-misc/dhcp/dhcp-4.4.2_p1-r1.ebuild |
23 |
@@ -271,6 +271,10 @@ pkg_preinst() { |
24 |
} |
25 |
|
26 |
pkg_postinst() { |
27 |
+ if use server ; then |
28 |
+ tmpfiles_process dhcpd.conf |
29 |
+ fi |
30 |
+ |
31 |
if [[ -e "${ROOT}"/etc/init.d/dhcp ]] ; then |
32 |
ewarn |
33 |
ewarn "WARNING: The dhcp init script has been renamed to dhcpd" |