Why are `powerd` and `power_profile` starting scripts (which go to `/etc/rc.d`) is protected with `WITHOUT_ACPI` and `WITHOUT_APM`?

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Tue, 1 Oct 2019 13:52:19 +0300
 I'm building very small system image and have `WITHOUT_ACPI` and
`WITHOUT_APM` set in `/etc/src.conf`. It has very surprising
consequences: powerd(8) is built and installed (which is very good), but
its starting script (`/etc/rc.d/powerd`) is not installed because:

libexec/rc/Makefile/rc.d:139
.if ${MK_ACPI} != "no" || ${MK_APM} != "no"
CONFS+=		powerd
.endif

 Why is it so? powerd(8) IS installed and WORKS well with these
WITHOUT_XXX options well, but could not be started at boot with these
options!

-- 
// Lev Serebryakov


Received on Tue Oct 01 2019 - 08:52:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:22 UTC