Blame SOURCES/0052-inspection-Parse-os-release-opensuse-leap-as-opensus.patch

d0ea73
From 1e72a13be2bbe054f0a15cdf5cc08c58fe5c43ab Mon Sep 17 00:00:00 2001
d0ea73
From: "Richard W.M. Jones" <rjones@redhat.com>
d0ea73
Date: Mon, 1 Oct 2018 09:51:15 +0100
d0ea73
Subject: [PATCH] inspection: Parse os-release "opensuse-leap" as opensuse
d0ea73
 (RHBZ#1634248).
d0ea73
d0ea73
(cherry picked from commit 70407cd622dda6f088a0876e1e1ae669e9f8a281)
d0ea73
---
d0ea73
 daemon/inspect_fs_unix.ml | 2 +-
d0ea73
 1 file changed, 1 insertion(+), 1 deletion(-)
d0ea73
d0ea73
diff --git a/daemon/inspect_fs_unix.ml b/daemon/inspect_fs_unix.ml
d0ea73
index f4b2fea14..33b93256f 100644
d0ea73
--- a/daemon/inspect_fs_unix.ml
d0ea73
+++ b/daemon/inspect_fs_unix.ml
d0ea73
@@ -142,7 +142,7 @@ and distro_of_os_release_id = function
d0ea73
   | "frugalware" -> Some DISTRO_FRUGALWARE
d0ea73
   | "mageia" -> Some DISTRO_MAGEIA
d0ea73
   | "neokylin" -> Some DISTRO_NEOKYLIN
d0ea73
-  | "opensuse" -> Some DISTRO_OPENSUSE
d0ea73
+  | "opensuse" | "opensuse-leap" -> Some DISTRO_OPENSUSE
d0ea73
   | "pld" -> Some DISTRO_PLD_LINUX
d0ea73
   | "rhel" -> Some DISTRO_RHEL
d0ea73
   | "sles" | "sled" -> Some DISTRO_SLES
d0ea73
-- 
6b9fda
2.21.0
d0ea73