diff options
author | David Lamparter <equinox@diac24.net> | 2021-04-19 10:35:53 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2021-06-29 17:57:09 +0200 |
commit | ab140d61cdd04db03ef597f645e601429396d3c8 (patch) | |
tree | 0bbb5e5f699942ad63b4e5b4aad74b107f079082 /debian/rules | |
parent | lib, watchfrr: remove `HAVE_SYSTEMD`, use own code (diff) | |
download | frr-ab140d61cdd04db03ef597f645e601429396d3c8.tar.xz frr-ab140d61cdd04db03ef597f645e601429396d3c8.zip |
build, doc: extricate `--enable-systemd`
Ouch, that is a *lot* of places to update...
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/debian/rules b/debian/rules index 93d0cdb2a..0fa9c3a3b 100755 --- a/debian/rules +++ b/debian/rules @@ -21,14 +21,6 @@ else CONF_RPKI=--disable-rpki endif -ifeq ($(filter pkg.frr.nosystemd,$(DEB_BUILD_PROFILES)),) - DH_WITHOUT_SYSTEMD= - CONF_SYSTEMD=--enable-systemd=yes -else - DH_WITHOUT_SYSTEMD=--without=systemd - CONF_SYSTEMD=--enable-systemd=no -endif - ifeq ($(filter pkg.frr.lua,$(DEB_BUILD_PROFILES)),) CONF_LUA=--disable-scripting else @@ -38,7 +30,7 @@ endif export PYTHON=python3 %: - dh $@ $(DH_WITHOUT_SYSTEMD) + dh $@ override_dh_auto_configure: $(shell dpkg-buildflags --export=sh); \ @@ -52,7 +44,6 @@ override_dh_auto_configure: LIBTOOLFLAGS="-rpath /usr/lib/$(DEB_HOST_MULTIARCH)/frr" \ --disable-dependency-tracking \ \ - $(CONF_SYSTEMD) \ $(CONF_RPKI) \ $(CONF_LUA) \ --with-libpam \ @@ -80,9 +71,7 @@ override_dh_auto_install: sed -e '1c #!/usr/bin/python3' -i debian/tmp/usr/lib/frr/generate_support_bundle.py # let dh_systemd_* and dh_installinit do their thing automatically -ifeq ($(filter pkg.frr.nosystemd,$(DEB_BUILD_PROFILES)),) cp tools/frr.service debian/frr.service -endif cp tools/frrinit.sh debian/frr.init -rm -f debian/tmp/usr/lib/frr/frr |