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

Michal Prívozník mprivozn at redhat.com
Wed Mar 9 09:20:41 UTC 2022


On 1/27/22 12:00, 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(-)
> 

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal



More information about the libvir-list mailing list