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

Lev Serebryakov lev at FreeBSD.org
Tue Oct 1 10:52:31 UTC 2019


 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20191001/582bdb20/attachment.sig>


More information about the freebsd-current mailing list