[libvirt PATCH v2 1/1] meson: Check for os-release's ID_LIKE in addition to ID

Andrea Bolognani abologna at redhat.com
Tue Feb 15 18:38:47 UTC 2022


On Thu, Jan 27, 2022 at 12:00:18PM +0100, Andrea Bolognani wrote:
> This makes it possible to reduce the number of cases we have to
> consider, because 'sles' declares itself to be like 'suse' and
> both 'rhel' and 'centos' declare themselves to be like 'fedora'.
>
> We have to move the check for Ubuntu before the one for Debian,
> however, because 'ubuntu' declares itself to be like 'debian'
> and it would end up with the wrong defaults otherwise.
>
> Suggested-by: Olaf Hering <olaf at aepfle.de>
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  meson.build | 15 +++++++--------
>  1 file changed, 7 insertions(+), 8 deletions(-)

ping

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list