mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
- Do not enable/start service during package install/upgrade - Configure needrestart to skip restarting service Closes: #1638. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> [sunil: Provide proper regex string in needrestart configuration with qr()] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
21 lines
569 B
Makefile
Executable File
21 lines
569 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
export DH_VERBOSE=1
|
|
export PYBUILD_DESTDIR=debian/tmp
|
|
|
|
%:
|
|
dh $@ --with python3 --buildsystem=pybuild
|
|
|
|
override_dh_auto_install-indep:
|
|
dh_auto_install
|
|
./run --list-dependencies 2> /dev/null | sort | tr '\n' ', ' | \
|
|
sed -e 's/^/freedombox:Depends=/' >> debian/freedombox.substvars
|
|
|
|
override_dh_auto_test:
|
|
PYBUILD_SYSTEM=custom \
|
|
PYBUILD_TEST_ARGS="{interpreter} setup.py test" dh_auto_test
|
|
|
|
override_dh_installsystemd:
|
|
# Do not enable or start freedombox-manual-upgrade.service.
|
|
dh_installsystemd --exclude=freedombox-manual-upgrade.service
|