1 From b3e40ea4aa3b890d3df6b10bb7ef0ddb3efb89a4 Mon Sep 17 00:00:00 2001
2 From: Jackie Huang <jackie.huang@windriver.com>
3 Date: Wed, 13 May 2020 22:48:04 +0800
4 Subject: [PATCH] const: add os-release and lsb-release into the search list
6 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/dnf/const.py.in b/dnf/const.py.in
12 index 44a204a..a795098 100644
15 @@ -25,7 +25,7 @@ CONF_FILENAME='/etc/dnf/dnf.conf' # :api
16 CONF_AUTOMATIC_FILENAME='/etc/dnf/automatic.conf'
17 DISTROVERPKG=('system-release(releasever)', 'system-release',
18 'distribution-release(releasever)', 'distribution-release',
19 - 'redhat-release', 'suse-release')
20 + 'redhat-release', 'suse-release', 'os-release', 'lsb-release')
21 GROUP_PACKAGE_TYPES = ('mandatory', 'default', 'conditional') # :api
22 INSTALLONLYPKGS=['kernel', 'kernel-PAE',
23 'installonlypkg(kernel)',