diskimage-builder/diskimage_builder/elements
Andreas Florath 20389d755f Fix dib-init-system for Debian Jessie and Debian Stretch
On Debian Jessie and Debian Stretch systemctl is in /bin.
If the package systemd-sysv is not installed the script
dib-init-system did not find the init system.
This patch fixes the problem: it also looks in /bin
for systemctl and if found decides for systemd.

Change-Id: I5a18052a070bad5e16b14672237a1e2b38513949
Signed-off-by: Andreas Florath <andreas@florath.net>
2017-03-11 14:04:13 +00:00
..
apt-conf Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
apt-preferences Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
apt-sources Release 1.25.2 2017-02-02 11:20:00 +11:00
architecture-emulation-binaries Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-29 07:43:46 +11:00
baremetal Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
base Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
bootloader Release 1.27.0 2017-02-03 11:49:45 +11:00
cache-url Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
centos Release 1.27.0 2017-02-03 11:49:45 +11:00
centos-minimal Release 1.27.0 2017-02-03 11:49:45 +11:00
centos7 Release 1.27.0 2017-02-03 11:49:45 +11:00
cleanup-kernel-initrd Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
cloud-init Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
cloud-init-datasources Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
cloud-init-disable-resizefs Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
cloud-init-nocloud Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
debian Semi-automatic doc generation of element dependency 2017-02-09 09:50:30 +11:00
debian-minimal Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
debian-systemd Semi-automatic doc generation of element dependency 2017-02-09 09:50:30 +11:00
debian-upstart Semi-automatic doc generation of element dependency 2017-02-09 09:50:30 +11:00
debootstrap Semi-automatic doc generation of element dependency 2017-02-09 09:50:30 +11:00
deploy-baremetal Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
deploy-kexec Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
deploy-targetcli Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
deploy-tgtadm Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
devuser Release 1.25.2 2017-02-02 11:20:00 +11:00
dhcp-all-interfaces Release 1.27.0 2017-02-03 11:49:45 +11:00
dib-init-system Fix dib-init-system for Debian Jessie and Debian Stretch 2017-03-11 14:04:13 +00:00
dib-python Release 1.21.1 2017-02-02 20:36:23 +11:00
dib-run-parts/root.d Move dib-run-parts into diskimage-builder 2016-11-04 17:07:37 +11:00
disable-selinux/post-install.d Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
dkms Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
docker Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
dpkg Semi-automatic doc generation of element dependency 2017-02-09 09:50:30 +11:00
dracut-network Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
dracut-ramdisk Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
dynamic-login Release 1.25.2 2017-02-02 11:20:00 +11:00
element-manifest Release 1.24.0 2017-01-31 14:14:19 +11:00
enable-serial-console Release 1.25.2 2017-02-02 11:20:00 +11:00
epel Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
fedora Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
fedora-minimal Release 1.27.0 2017-02-03 11:49:45 +11:00
gentoo Merge branch 'master' into merge-branch 2017-03-02 13:49:29 +11:00
growroot Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
grub2 Fix #1627402: fix grub2 element for ubuntu xenial 2017-02-11 18:44:18 +00:00
hpdsa Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
hwburnin Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
hwdiscovery Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
ilo Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
install-bin Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
install-static Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
install-types Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
ironic-agent Release 1.27.0 2017-02-03 11:49:45 +11:00
iso Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
local-config Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-29 07:43:46 +11:00
manifests Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
mellanox Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-29 07:43:46 +11:00
modprobe-blacklist Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
no-final-image Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
oat-client Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
openssh-server Release 1.21.1 2017-02-02 20:36:23 +11:00
opensuse Release 1.21.1 2017-02-02 20:36:23 +11:00
opensuse-minimal Release 1.21.1 2017-02-02 20:36:23 +11:00
package-installs Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
pip-and-virtualenv Merge branch 'master' into merge-branch 2017-03-02 13:49:29 +11:00
pip-cache Release 1.25.2 2017-02-02 11:20:00 +11:00
pkg-map Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
posix Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-29 07:43:46 +11:00
proliant-tools Release 1.27.0 2017-02-03 11:49:45 +11:00
pypi Release 1.27.0 2017-02-03 11:49:45 +11:00
python-brickclient Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
ramdisk Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
ramdisk-base Release 1.25.2 2017-02-02 11:20:00 +11:00
rax-nova-agent Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
redhat-common Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
rhel Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
rhel-common Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-18 13:53:56 +11:00
rhel7 Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
rpm-distro Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-29 07:43:46 +11:00
runtime-ssh-host-keys Release 1.21.1 2017-02-02 20:36:23 +11:00
select-boot-kernel-initrd Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
selinux-permissive Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
simple-init Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-18 13:53:56 +11:00
source-repositories Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
stable-interface-names Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
svc-map Release 1.27.0 2017-02-03 11:49:45 +11:00
sysctl Release 1.25.2 2017-02-02 11:20:00 +11:00
uboot Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
ubuntu Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
ubuntu-common Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
ubuntu-core Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
ubuntu-minimal Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
ubuntu-signed Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
vm block-device: change top level config from dict to list 2017-02-03 20:15:39 +00:00
yum Merge branch 'master' into merge-branch 2017-02-09 13:35:53 +11:00
yum-minimal Release 1.27.0 2017-02-03 11:49:45 +11:00
zypper Merge remote-tracking branch 'origin/master' into merge-branch 2016-11-29 07:43:46 +11:00
zypper-minimal Merge branch 'master' into merge-branch 2017-03-02 13:49:29 +11:00