Browse Source

Make sure systemd unit is activated upon installation

Christoph Biedl 2 years ago
parent
commit
320c671212
2 changed files with 19 additions and 0 deletions
  1. 16 0
      debian/patches/debian/2021-04-19.non-usrmerged.patch
  2. 3 0
      debian/patches/series

+ 16 - 0
debian/patches/debian/2021-04-19.non-usrmerged.patch

@@ -0,0 +1,16 @@
+Subject: Install systemd unit files in /lib/
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Date: 2021-04-19
+Forwarded: not-needed
+
+--- a/meson.build
++++ b/meson.build
+@@ -14,7 +14,7 @@
+ libexecdir = join_paths(get_option('prefix'), get_option('libexecdir'))
+ sysconfdir = join_paths(get_option('prefix'), get_option('sysconfdir'))
+ bindir = join_paths(get_option('prefix'), get_option('bindir'))
+-systemunitdir = join_paths(get_option('prefix'), 'lib/systemd/system')
++systemunitdir = join_paths('/lib/systemd/system')
+ licensedir = join_paths(get_option('prefix'), 'share', 'licenses', meson.project_name())
+ jwkdir = join_paths(get_option('localstatedir'), 'db', meson.project_name())
+ 

+ 3 - 0
debian/patches/series

@@ -4,3 +4,6 @@
 # patches for upstream
 for-upstream/2018-08-11.use-asciidoctor-to-build-manpages.patch
 for-upstream/2018-08-12.add-systemd-documentation-key.patch
+
+# patches for Debian
+debian/2021-04-19.non-usrmerged.patch