From d22e678ba961b0b23376db2b290340700e1c2c9c Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Mon, 1 Oct 2018 09:51:15 +0100 Subject: [PATCH 1/2] inspection: Parse os-release "opensuse-leap" as opensuse (RHBZ#1634248). (cherry picked from commit 70407cd622dda6f088a0876e1e1ae669e9f8a281) Signed-off-by: Larry Dewey --- 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 d0323af3f..c0c0a75a4 100644 --- a/daemon/inspect_fs_unix.ml +++ b/daemon/inspect_fs_unix.ml @@ -142,7 +142,7 @@ and distro_of_os_release_id = function | "frugalware" -> Some DISTRO_FRUGALWARE | "mageia" -> Some DISTRO_MAGEIA | "neokylin" -> Some DISTRO_NEOKYLIN - | "opensuse" -> Some DISTRO_OPENSUSE + | "opensuse" | "opensuse-leap" -> Some DISTRO_OPENSUSE | "pld" -> Some DISTRO_PLD_LINUX | "rhel" -> Some DISTRO_RHEL | "sles" | "sled" -> Some DISTRO_SLES -- 2.21.0