diskimage-builder/elements/dib-init-system
Monty Taylor 74487a383c Depend on ifupdown in simple-init
Newer distros, such as debian jessie and ubuntu xenial, do not provide
ifupdown by default, but simple-init depends on it. Add it to the pile.

Change-Id: I6f4876863c67c65a82464d4e0593015cdc839c5c
2016-02-20 08:19:21 -06:00
..
environment.d Split dib-init-system into its own element 2015-03-25 13:28:38 -04:00
install.d Add support for OpenRC to dib-init-system 2016-02-02 17:23:35 -06:00
post-install.d Add support for OpenRC to dib-init-system 2016-02-02 17:23:35 -06:00
pre-install.d Split dib-init-system into its own element 2015-03-25 13:28:38 -04:00
dib-init-system Depend on ifupdown in simple-init 2016-02-20 08:19:21 -06:00
README.rst Add init-scripts directory support 2015-07-16 17:59:05 +01:00

===============
dib-init-system
===============

Installs a script (dib-init-system) which outputs the type of init system in
use on the target image. Also sets an environment variable ``DIB_INIT_SYSTEM``
to this value.

Any files placed in a ``init-scripts/INIT_SYSTEM`` directory inside the
element will be copied into the appropriate directory if ``INIT_SYSTEM``
is in use on the host.

Environment Variables
---------------------

DIB_INIT_SYSTEM
  :Description: One of upstart, systemd, or sysv depending on the init system
    in use for the target image.