Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/power-profiles-daemon/
Date: Sun, 19 Mar 2023 16:56:48
Message-Id: 1679244992.0c7788a137d045c3628cf330e6cef9fd4f3808d8.pacho@gentoo
1 commit: 0c7788a137d045c3628cf330e6cef9fd4f3808d8
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 19 16:36:56 2023 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 19 16:56:32 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c7788a1
7
8 sys-power/power-profiles-daemon: Add elog info for openRC users
9
10 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
11
12 sys-power/power-profiles-daemon/power-profiles-daemon-0.12-r1.ebuild | 3 ++-
13 1 file changed, 2 insertions(+), 1 deletion(-)
14
15 diff --git a/sys-power/power-profiles-daemon/power-profiles-daemon-0.12-r1.ebuild b/sys-power/power-profiles-daemon/power-profiles-daemon-0.12-r1.ebuild
16 index 36656c234b6d..84451d51dd70 100644
17 --- a/sys-power/power-profiles-daemon/power-profiles-daemon-0.12-r1.ebuild
18 +++ b/sys-power/power-profiles-daemon/power-profiles-daemon-0.12-r1.ebuild
19 @@ -59,7 +59,6 @@ src_configure() {
20 src_install() {
21 meson_src_install
22 python_fix_shebang "${D}"/usr/bin/powerprofilesctl
23 -
24 newinitd "${FILESDIR}/power-profiles-daemon.initd" power-profiles-daemon
25 }
26
27 @@ -68,6 +67,8 @@ pkg_postinst() {
28 if systemd_is_booted; then
29 elog "You need to enable the service:"
30 elog "# systemctl enable ${PN}"
31 + else
32 + elog "# rc-update add ${PN} default"
33 fi
34 fi
35 }