git: 0dc7e55dcb0e - stable/12 - rc.d: liberate powerd from ACPI dependency

Andriy Gapon avg at FreeBSD.org
Wed Jun 16 10:49:34 UTC 2021


The branch stable/12 has been updated by avg:

URL: https://cgit.FreeBSD.org/src/commit/?id=0dc7e55dcb0e7fd6415bf50ec6b8e11bf0beb2c5

commit 0dc7e55dcb0e7fd6415bf50ec6b8e11bf0beb2c5
Author:     Andriy Gapon <avg at FreeBSD.org>
AuthorDate: 2021-06-08 17:08:10 +0000
Commit:     Andriy Gapon <avg at FreeBSD.org>
CommitDate: 2021-06-16 10:49:11 +0000

    rc.d: liberate powerd from ACPI dependency
    
    For instance, many non-ACPI ARM systems have CPU power / frequency
    levels.
    
    (cherry picked from commit 20eb6bd8c598fdbf4e96ed4ca64a609be255ccba)
---
 libexec/rc/rc.d/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile
index e4c426290d4e..f6e6c437fece 100644
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -84,6 +84,7 @@ CONFS=	DAEMON \
 	pf \
 	pflog \
 	pfsync \
+	powerd \
 	ppp \
 	pppoed \
 	pwcheck \
@@ -141,10 +142,6 @@ ACPI=		power_profile
 ACPIPACKAGE=	acpi
 .endif
 
-.if ${MK_ACPI} != "no" || ${MK_APM} != "no"
-CONFS+=		powerd
-.endif
-
 .if ${MK_AMD} != "no"
 CONFGROUPS+=	AMD
 AMD+=		amd


More information about the dev-commits-src-all mailing list