core-agent-linux/debian/rules
Paweł Marczewski 969ec301d5
Override PAM config for su in RPM package
In Red Hat based distributions, there is no pam-configs like
mechanism (authselect seems too heavy and is not configured by
default), so instead, we replace the PAM file.

Enable su for users in the qubes group, same as in the Debian
package.
2020-05-07 17:01:02 +02:00

41 lines
998 B
Makefile
Executable File

#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYTHON_PREFIX_ARG=--install-layout=deb
include /usr/share/dpkg/default.mk
export DESTDIR=$(shell pwd)/debian/tmp
%:
dh $@ --with systemd,python3 --with=config-package
override_dh_auto_build:
make all
override_dh_auto_install:
make install-deb
make -C app-menu install
make -C config-overrides install
make -C filesystem install
make -C misc install
make -C network install
make -C package-managers install
make -C package-managers install-apt
make -C passwordless-root install install-debian
make -C qubes-rpc install
make -C qubes-rpc/kde install
make -C qubes-rpc/nautilus install
make -C qubes-rpc/thunar install
install -D -m 0644 boot/grub.qubes $(DESTDIR)/etc/default/grub.d/30-qubes.cfg
override_dh_fixperms:
dh_fixperms -a -Xqfile-unpacker
override_dh_systemd_start:
dh_systemd_start --no-restart-on-upgrade
override_dh_install:
dh_install --fail-missing