diskimage-builder/diskimage_builder/elements/dib-init-system
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
..
environment.d Release 1.25.2 2017-02-02 11:20:00 +11:00
install.d Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
post-install.d Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
pre-install.d Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
dib-init-system allow building non-gentoo images on gentoo hosts 2018-04-12 13:24:59 -05:00
README.rst Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07: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.