Matthew Thode 2dd6dd357a
allow building non-gentoo images on gentoo hosts
Can't use a variable that's not set.

Change-Id: I4a7cf2ac47c2254da2fec778437f67c1fe3707f7
2018-04-12 13:24:59 -05:00
..
2017-02-02 11:20:00 +11: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.