diff options
| author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-12-05 07:49:01 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-11 14:18:56 +0000 |
| commit | 3623ba9ad02efc496b0edf0fdf299dc108835d12 (patch) | |
| tree | 711115d4b322e7401fe1e407c8f8b5b75e122a75 /documentation/ref-manual/ref-variables.xml | |
| parent | c35962acfa4d999359c8bab5b39aea72d41f5754 (diff) | |
| download | poky-3623ba9ad02efc496b0edf0fdf299dc108835d12.tar.gz | |
ref-manual: Added systemd class and three variables:
Variables:
SYSTEMD_PACKAGES
SYSTEMD_SERVICE
SYSTEMD_AUTO_ENABLE
(From yocto-docs rev: 8fd150085660a8697503131157e1a73e7996dc2d)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 049c771ea5..60e24ef565 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
| @@ -6289,6 +6289,65 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 6289 | </glossdef> | 6289 | </glossdef> |
| 6290 | </glossentry> | 6290 | </glossentry> |
| 6291 | 6291 | ||
| 6292 | <glossentry id='var-SYSTEMD_AUTO_ENABLE'><glossterm>SYSTEMD_AUTO_ENABLE</glossterm> | ||
| 6293 | <glossdef> | ||
| 6294 | <para> | ||
| 6295 | Enables and disables the <filename>systemd</filename> | ||
| 6296 | service manager. | ||
| 6297 | By default, the service is enabled to automatically start | ||
| 6298 | at boot time. | ||
| 6299 | The default setting is in the | ||
| 6300 | <link linkend='ref-classes-systemd'><filename>systemd</filename></link> | ||
| 6301 | class as follows: | ||
| 6302 | <literallayout class='monospaced'> | ||
| 6303 | SYSTEMD_AUTO_ENABLE ??= "enable" | ||
| 6304 | </literallayout> | ||
| 6305 | You can disable the service by setting the variable to | ||
| 6306 | "disable." | ||
| 6307 | </para> | ||
| 6308 | </glossdef> | ||
| 6309 | </glossentry> | ||
| 6310 | |||
| 6311 | <glossentry id='var-SYSTEMD_PACKAGES'><glossterm>SYSTEMD_PACKAGES</glossterm> | ||
| 6312 | <glossdef> | ||
| 6313 | <para> | ||
| 6314 | Specifies the packages into which | ||
| 6315 | <filename>systemd</filename> unit files are installed | ||
| 6316 | when the files need to be installed into packages other | ||
| 6317 | than recipe's main package. | ||
| 6318 | </para> | ||
| 6319 | |||
| 6320 | <para> | ||
| 6321 | The | ||
| 6322 | <link linkend='ref-classes-systemd'><filename>systemd</filename></link> | ||
| 6323 | class sets <filename>SYSTEMD_PACKAGES</filename> as follows: | ||
| 6324 | <literallayout class='monospaced'> | ||
| 6325 | SYSTEMD_PACKAGES ?= "${PN}" | ||
| 6326 | </literallayout> | ||
| 6327 | </para> | ||
| 6328 | </glossdef> | ||
| 6329 | </glossentry> | ||
| 6330 | |||
| 6331 | <glossentry id='var-SYSTEMD_SERVICE'><glossterm>SYSTEMD_SERVICE</glossterm> | ||
| 6332 | <glossdef> | ||
| 6333 | <para> | ||
| 6334 | The service file for the <filename>systemd</filename> | ||
| 6335 | service manager. | ||
| 6336 | </para> | ||
| 6337 | |||
| 6338 | <para> | ||
| 6339 | When you specify this file in your recipe, use a package | ||
| 6340 | name override to indicate the package to which the value | ||
| 6341 | applies when the value applies to a package other than | ||
| 6342 | the recipe's main package. | ||
| 6343 | Here is an example from the connman recipe: | ||
| 6344 | <literallayout class='monospaced'> | ||
| 6345 | SYSTEMD_SERVICE_${PN} = "connman.service" | ||
| 6346 | </literallayout> | ||
| 6347 | </para> | ||
| 6348 | </glossdef> | ||
| 6349 | </glossentry> | ||
| 6350 | |||
| 6292 | </glossdiv> | 6351 | </glossdiv> |
| 6293 | 6352 | ||
| 6294 | <glossdiv id='var-glossary-t'><title>T</title> | 6353 | <glossdiv id='var-glossary-t'><title>T</title> |
