Re: [libvirt PATCH 09/13] selinux: introduce meson option for selinux policy install

2021-08-11 Thread Pavel Hrdina
On Tue, Aug 10, 2021 at 05:35:58PM +0100, Daniel P. Berrangé wrote: > On Tue, Aug 10, 2021 at 11:10:56AM +0200, Pavel Hrdina wrote: > > On Fri, Aug 06, 2021 at 06:48:06PM +0100, Daniel P. Berrangé wrote: > > > The /etc/os-release file may not even exist on OS and checking specific > > > OS names /

Re: [libvirt PATCH 09/13] selinux: introduce meson option for selinux policy install

2021-08-10 Thread Daniel P . Berrangé
On Tue, Aug 10, 2021 at 11:10:56AM +0200, Pavel Hrdina wrote: > On Fri, Aug 06, 2021 at 06:48:06PM +0100, Daniel P. Berrangé wrote: > > The /etc/os-release file may not even exist on OS and checking specific > > OS names / versions in the build rules duplicates conditions that are > > set in the

Re: [libvirt PATCH 09/13] selinux: introduce meson option for selinux policy install

2021-08-10 Thread Pavel Hrdina
On Fri, Aug 06, 2021 at 06:48:06PM +0100, Daniel P. Berrangé wrote: > The /etc/os-release file may not even exist on OS and checking specific > OS names / versions in the build rules duplicates conditions that are > set in the RPM. > > Instead we just look for existance of the tools we need to

[libvirt PATCH 09/13] selinux: introduce meson option for selinux policy install

2021-08-06 Thread Daniel P . Berrangé
The /etc/os-release file may not even exist on OS and checking specific OS names / versions in the build rules duplicates conditions that are set in the RPM. Instead we just look for existance of the tools we need to build the policy module. In doing so, we also introduce '-Dselinux_policy'