Merge "debian: add systemd support"
This commit is contained in:
commit
b46ece4de9
3 changed files with 8 additions and 0 deletions
2
elements/debian-systemd/README.md
Normal file
2
elements/debian-systemd/README.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
You may want to use `systemd` instead of the classic sysv init system.
|
||||
In this case, include this element in your element list.
|
1
elements/debian-systemd/element-deps
Normal file
1
elements/debian-systemd/element-deps
Normal file
|
@ -0,0 +1 @@
|
|||
debian
|
5
elements/debian-systemd/root.d/05-debian-systemd
Executable file
5
elements/debian-systemd/root.d/05-debian-systemd
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -eux
|
||||
cat > ${TARGET_ROOT}/.extra_settings << EOF
|
||||
DIB_DEBIAN_ALT_INIT_PACKAGE=systemd-sysv
|
||||
EOF
|
Loading…
Reference in a new issue