Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2019 13:52:19 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-current@freebsd.org
Subject:   Why are `powerd` and `power_profile` starting scripts (which go to `/etc/rc.d`) is protected with `WITHOUT_ACPI` and `WITHOUT_APM`?
Message-ID:  <9b248d1b-b84d-fc98-e8bc-41b1f7eaa0da@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--nQWcVv0RBXk6gflymofAm1SMFL9S7zE1U
Content-Type: multipart/mixed; boundary="VccMrJuo4g6FzcAM8CPfAUFTm8uhsLXbT";
 protected-headers="v1"
From: Lev Serebryakov <lev@FreeBSD.org>
Reply-To: lev@FreeBSD.org
To: freebsd-current@freebsd.org
Message-ID: <9b248d1b-b84d-fc98-e8bc-41b1f7eaa0da@FreeBSD.org>
Subject: Why are `powerd` and `power_profile` starting scripts (which go to
 `/etc/rc.d`) is protected with `WITHOUT_ACPI` and `WITHOUT_APM`?

--VccMrJuo4g6FzcAM8CPfAUFTm8uhsLXbT
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable


 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
=2Eif ${MK_ACPI} !=3D "no" || ${MK_APM} !=3D "no"
CONFS+=3D		powerd
=2Eendif

 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!

--=20
// Lev Serebryakov


--VccMrJuo4g6FzcAM8CPfAUFTm8uhsLXbT--

--nQWcVv0RBXk6gflymofAm1SMFL9S7zE1U
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAl2TL+NfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5
NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c
R4/F6Q/+MCqmAhBSJ73Y3tg6yKxH8pdt6B2UdiGQ6gPYTjqBVo6MsxfyDsteSTcJ
5lDyWSWxhtu3767TFgPFNR8eKQJe3oVdJmTXnYCWu2Io9MJz7PA30rEG8V2I4cLF
0ztX8QoiUkNc1zE0bcJqrER15KbxQVrfo0ea/hfXWKwP3dDe/xW7RTP2e9CBgXhs
mBBCzqRL8/r+c0F0jjXG6WY2fN4ySJ2uae2r3p+p+v2wZomVpDtdFdBjxl83/EOA
eieGZmmC+ZuZRZ1EaR9qNak0jbKTB8vButuRX+5i/doGlIU95bfL1XP79P9xSzeK
wM+Wp2KTXPmaVbYf/KbJaZSsAyslW772YDmMmW3XwBkQUiUQGN5tgp3ixFEegxti
9JmgI5yPne2nHoJ/RutAzMaj4gsXtQ6RC4olLDIOY+i8HxzuWdxw2NgIV0R1kxIp
JKuaIlKWkugPC01gBuWOApxbV9Y2elhtdwwqrLzde4MJqsbzCGEtRNNciprHC/KG
qvRthQ4kQt4ljZJKawzH+vdEwP7EBtea66aZlQ1rRW59WrcDLbbJyCLf+nNw7cPm
5m9ntozthfn5BBxmycfXDZ5teuIRIDptpbcAmObdcaSd7siJgPW512VsKYsaOaDq
6uyKFV3fdTja6ZgINYh1r/jLNwQZx2e4c5FyNKxsICZ9aPhEMS4=
=HuFb
-----END PGP SIGNATURE-----

--nQWcVv0RBXk6gflymofAm1SMFL9S7zE1U--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9b248d1b-b84d-fc98-e8bc-41b1f7eaa0da>