Skip to content
Snippets Groups Projects
Commit 4e6f9098 authored by Laurent Bigonville's avatar Laurent Bigonville
Browse files

Disable polkit support on !linux, see: #927896

parent d04fa486
No related branches found
Tags upstream/5.9.1
1 merge request!46Allow libvirt to build on non-linux architectures
......@@ -24,9 +24,9 @@ Build-Depends:
libudev-dev [linux-any],
libpciaccess-dev,
kmod [linux-any],
policykit-1 (>= 0.105-4~),
policykit-1 (>= 0.105-4~) [linux-any],
libcurl4-gnutls-dev,
libpolkit-gobject-1-dev,
libpolkit-gobject-1-dev [linux-any],
libcap-ng-dev [linux-any],
libnl-3-dev [linux-any],
libnl-route-3-dev [linux-any],
......@@ -257,7 +257,7 @@ Depends:
libvirt-daemon-system-systemd | libvirt-daemon-system-sysv,
iptables (>= 1.8.1-1) [linux-any] | firewalld,
logrotate,
policykit-1,
policykit-1 [linux-any],
Recommends:
dmidecode,
dnsmasq-base (>= 2.46-1),
......
......@@ -36,6 +36,7 @@ ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
WITH_NETWORK = --with-network
WITH_OPENVZ = --with-openvz
WITH_NETCF = --with-netcf
WITH_POLKIT = --with-polkit
WITH_SANLOCK = --with-sanlock
WITH_INIT_SCRIPT = --with-init-script=systemd
WITH_SYSTEMD = --with-systemd-daemon
......@@ -75,6 +76,7 @@ else
WITH_NUMA = --without-numactl --without-numad
WITH_NETCF = --without-netcf
WITH_INIT_SCRIPT = --with-init-script=none
WITH_POLKIT = --without-polkit
WITH_SYSTEMD = --without-systemd-daemon
WITH_FIREWALLD = --without-firewalld
WITH_AUDIT = --without-audit
......@@ -101,7 +103,7 @@ DEB_CONFIGURE_EXTRA_ARGS := \
--with-sasl \
--with-yajl \
--with-ssh2 \
--with-polkit \
$(WITH_POLKIT) \
$(WITH_UDEV) \
--with-storage-fs \
--with-storage-dir \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment