summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2012-07-28 09:21:22 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-30 23:12:17 +0200
commite61153cf972e1f060bc0905df61381a9548cb16e (patch)
treec708094b46b150e2decf5f2602b3323bafbcb94d
parentb7eb4104b32a6cfca15c081649065659da75d9c1 (diff)
doc: Update the documentation to mention the new PKG_INSTALL_INIT_ variables
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--docs/manual/adding-packages-generic.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
index d264f40b0..d3a4abb09 100644
--- a/docs/manual/adding-packages-generic.txt
+++ b/docs/manual/adding-packages-generic.txt
@@ -311,6 +311,13 @@ different steps of the build process.
* +LIBFOO_UNINSTALL_STAGING_CMDS+, used to list the actions to
uninstall the package from the staging directory +$(STAGING_DIR)+.
+* +LIBFOO_INSTALL_INIT_SYSV+ and +LIBFOO_INSTALL_INIT_SYSTEMD+, used
+ to install init scripts either for the systemV-like init systems
+ (busybox, sysvinit, etc.) or for the systemd units. These commands
+ will be run only when the relevant init system is installed (i.e. if
+ systemd is selected as the init system in the configuration, only
+ +LIBFOO_INSTALL_INIT_SYSTEMD+ will be run).
+
The preferred way to define these variables is:
----------------------