Re: [Libguestfs] [PATCH libguestfs] build: When parsing distro from /etc/os-release, try $ID_LIKE first

2022-05-23 Thread Richard W.M. Jones
On Sun, May 22, 2022 at 06:41:14PM +0100, Richard W.M. Jones wrote: > The current code for working out the distro uses the ID entry from > /etc/os-release, and then we map those strings into a smaller set of > values (basically, what package manager to use). However it was > suggested that we

[Libguestfs] [PATCH libguestfs] build: When parsing distro from /etc/os-release, try $ID_LIKE first

2022-05-22 Thread Richard W.M. Jones
The current code for working out the distro uses the ID entry from /etc/os-release, and then we map those strings into a smaller set of values (basically, what package manager to use). However it was suggested that we should try ID_LIKE first so that distros which act like other distros would