1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00
Files
CumulusNetworks-ifupdown2/debian/rules
Roopa Prabhu 7843a370c7 add systemd networking.service in response to the following lintian warning
E: ifupdown2: systemd-no-service-for-init-rcS-script networking
N:
N:    The rcS init.d script has no systemd equivalent.
N:
N:    Systemd has a SysV init.d script compatibility mode. It provides access
N:    to each SysV init.d script as long as there is no native service file
N:    with the same name (e.g. /lib/systemd/system/rsyslog.service corresponds
N:    to /etc/init.d/rsyslog).
N:
N:    Services in rcS.d are particularly problematic, because they often cause
N:    dependency loops, as they are ordered very early in the boot sequence.
N:
N:    Refer to https://wiki.debian.org/Teams/pkg-systemd/rcSMigration for
N:    details.
N:
N:    Severity: serious, Certainty: certain
N:
N:    Check: systemd, Type: binary
2015-08-24 10:52:09 -07:00

17 lines
411 B
Makefile
Executable File

#!/usr/bin/make -f
#export DH_VERBOSE=1
export PYBUILD_NAME=ifupdown2
export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/ifupdown2 --install-scripts=/usr/share/ifupdown2
%:
dh $@ --with python2 --buildsystem=pybuild
override_dh_installman:
./scripts/genmanpages.sh ./man.rst ./man
dh_installman
override_dh_installinit:
dh_systemd_enable --name=networking
dh_installinit --name=networking --no-start