core-agent-linux/debian/rules
Patrick Schleizer 665453da76
- Prevent 'su -' from asking for password in Debian [based] templates.
Thanks to @unman and @marmarek for suggesting the fix!
Fixes https://github.com/QubesOS/qubes-issues/issues/1128.
- Changed 'ifeq (1,${DEBIANBUILD})' to 'ifeq ($(shell lsb_release -is), Debian)' to make the build work outside of Qubes Builder as well.
2015-09-13 17:19:25 +00:00

25 lines
468 B
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
include /usr/share/dpkg/default.mk
export DESTDIR=$(shell pwd)/debian/qubes-core-agent
%:
dh $@ --with systemd --with=config-package
override_dh_auto_build:
make all
override_dh_auto_install:
make install-deb
make -C qrexec install
override_dh_fixperms:
dh_fixperms -a -Xqfile-unpacker
override_dh_systemd_start:
dh_systemd_start --no-restart-on-upgrade