Skip to content

Commit

Permalink
Build --without-systemd, install the .service file ourselves.
Browse files Browse the repository at this point in the history
This fixes FTBFS outside a chroot if systemd is non-installable.
  • Loading branch information
kilobyte committed Nov 13, 2019
1 parent 249be9c commit fce6efb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion debian/control
Expand Up @@ -10,7 +10,6 @@ Build-Depends: debhelper-compat (= 12),
uuid-dev,
libjson-c-dev,
bash-completion,
systemd,
libkeyutils-dev,
asciidoctor
Rules-Requires-Root: no
Expand Down
2 changes: 1 addition & 1 deletion debian/ndctl.install
@@ -1,6 +1,6 @@
etc/ndctl
etc/modprobe.d/nvdimm-security.conf
lib/systemd
ndctl/*.service lib/systemd/system
usr/bin/ndctl
usr/share/bash-completion/completions/ndctl
usr/share/man/man1/ndctl*
3 changes: 3 additions & 0 deletions debian/rules
Expand Up @@ -8,6 +8,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
override_dh_autoreconf:
dh_autoreconf ./autogen.sh

override_dh_auto_configure:
dh_auto_configure -- --without-systemd

override_dh_clean:
#removing files generated by autogen.sh
rm -fr build-aux/
Expand Down

0 comments on commit fce6efb

Please sign in to comment.