systemctl: drop hardcoded chkconfig invocation

System Internals / systemd - Martin Pitt [ubuntu.com] - 28 May 2015 12:42 UTC

Introduce /usr/lib/systemd/systemd-sysv-install [--root=] abstraction, replacing the direct calling of chkconfig. This allows distributions to call their specific tools like update-rc.d without patching systemd.

Ship systemd-sysv-install.SKELETON as an example for packagers how to implement this.

Drop the --enable-chkconfig configure option.

Document this in README and point to it in NEWS.

0f0467e systemctl: drop hardcoded chkconfig invocation
Makefile.am | 1 +
NEWS | 11 +++++++
README | 11 +++++++
configure.ac | 20 ------------
src/systemctl/systemctl.c | 11 +++----
src/systemctl/systemd-sysv-install.SKELETON | 47 +++++++++++++++++++++++++++
6 files changed, 75 insertions(+), 26 deletions(-)

Upstream: github.com


  • Share