[Libguestfs] [PATCH] inspection: Parse os-release "opensuse-leap" as opensuse (RHBZ#1634248).
Pino Toscano
ptoscano at redhat.com
Mon Oct 1 09:22:35 UTC 2018
On Monday, 1 October 2018 10:54:08 CEST Richard W.M. Jones wrote:
> ---
> daemon/inspect_fs_unix.ml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/daemon/inspect_fs_unix.ml b/daemon/inspect_fs_unix.ml
> index ba9f0ed5a..4dd89fa8f 100644
> --- a/daemon/inspect_fs_unix.ml
> +++ b/daemon/inspect_fs_unix.ml
> @@ -143,7 +143,7 @@ and distro_of_os_release_id = function
> | "kali" -> Some DISTRO_KALI_LINUX
> | "mageia" -> Some DISTRO_MAGEIA
> | "neokylin" -> Some DISTRO_NEOKYLIN
> - | "opensuse" -> Some DISTRO_OPENSUSE
> + | "opensuse" | "opensuse-leap" -> Some DISTRO_OPENSUSE
I can confirm this works, so ACK.
Thanks,
--
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20181001/ba707ca0/attachment.sig>
More information about the Libguestfs
mailing list