diskimage-builder/releasenotes/notes/dib-init-system_fix_for_debian_jessie-c6f7261ee84dad27.yaml
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

6 lines
209 B
YAML

---
fixes:
- dib-init-system did not correctly find the
init system for Debian Jessie and Debian Stretch.
This version also looks for /bin/systemctl as
as hint for systemd and fixes the problem.