Skip to content

Commit

Permalink
app-laptop/laptop-mode-tools: [QA] call tmpfiles_process in pkg_postinst
Browse files Browse the repository at this point in the history
This is needed to actually apply the tmpfiles configuration
we've installed in the ebuild. See tmpfiles.eclass documentation.

Revbump because the new tmpfiles inherit adds a new dependency
(virtual/tmpfiles).

Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jul 31, 2021
1 parent 54e4cb4 commit 8f0e7b7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit multilib systemd udev
inherit multilib systemd tmpfiles udev

MY_P="${PN}_${PV}"

Expand Down Expand Up @@ -66,6 +66,8 @@ src_install() {
}

pkg_postinst() {
tmpfiles_process laptop-mode.conf

if use acpi || use apm; then
if use acpi; then
daemon_name="acpid"
Expand Down

0 comments on commit 8f0e7b7

Please sign in to comment.