mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
d/rules: Drop a workaround for dh_installsytemd needed for /usr/lib
Since debhelper 13.11.6, we don't need this hack as dh_installsystemd recognizes the files in /usr/lib/systemd/ directory in addition to /lib/systemd/. Tests: - After build package with gbp. Notice that postinst script has code inserted by dh_installsystemd for starting/restarting the service. - Install the deb package starts service. Reinstalling the package restarts the service. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
1 parent
0fdf59b9f0
commit
1ad48ecad8
1 file changed
+3
-7
Vendored
+3
-7
@@ -29,10 +29,6 @@ ifneq ($(FBX_VERSION),$(DEB_VERSION))
|
||||
endif
|
||||
|
||||
override_dh_installsystemd:
|
||||
# Do not enable or start any service other than FreedomBox service. Use
|
||||
# of --tmpdir is a hack to workaround an issue with dh_installsystemd
|
||||
# (as of debhelper 13.5.2) that still has hardcoded search path of
|
||||
# /lib/systemd/system for searching systemd services. See #987989 and
|
||||
# reversion of its changes.
|
||||
dh_installsystemd --tmpdir=debian/tmp/usr --package=freedombox \
|
||||
plinth.service freedombox-privileged.socket
|
||||
# Do not enable or start any service other than FreedomBox service.
|
||||
dh_installsystemd --package=freedombox plinth.service \
|
||||
freedombox-privileged.socket
|
||||
Reference in new issue
Block a user