aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-08-10 11:31:55 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-08-10 11:32:23 +0200
commit707fd989f4612c1ef3a504f13c7f4582ed3b798e (patch)
tree75491166c032b32412cf4d06c326b92fe4750478
parent90d24dec1477bea8a7eee6cb28f5daeefb199c70 (diff)
downloadayatana-indicator-printers-707fd989f4612c1ef3a504f13c7f4582ed3b798e.tar.gz
ayatana-indicator-printers-707fd989f4612c1ef3a504f13c7f4582ed3b798e.tar.bz2
ayatana-indicator-printers-707fd989f4612c1ef3a504f13c7f4582ed3b798e.zip
debian/{rules,*.links}: Install systemd user service file into DEB package.
-rw-r--r--debian/ayatana-indicator-printers.links3
-rwxr-xr-xdebian/rules2
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/ayatana-indicator-printers.links b/debian/ayatana-indicator-printers.links
new file mode 100644
index 0000000..ff077cb
--- /dev/null
+++ b/debian/ayatana-indicator-printers.links
@@ -0,0 +1,3 @@
+# Because dh-systemd does not support user units for compat levels below 12, we manually make the WantedBy link
+# FIXME: drop this once we bump DH compat level to 12 or higher
+/usr/lib/systemd/user/ayatana-indicator-printers.service /usr/lib/systemd/user/ayatana-indicators.target.wants/ayatana-indicator-printers.service
diff --git a/debian/rules b/debian/rules
index c339196..ba2e36f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ LDFLAGS += -Wl,-z,defs -Wl,--as-needed
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
%:
- dh $@ --without autoreconf
+ dh $@ --without autoreconf,systemd
override_dh_auto_configure:
NOCONFIGURE=1 ./autogen.sh