Revert "Revert "oran-shell-release: release image for F""
[pti/rtp.git] / meta-starlingx / meta-stx-integ / recipes-devtools / dnf / dnf / 0001-const-add-os-release-and-lsb-release-into-the-search.patch
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
5
6 Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
7 ---
8  dnf/const.py.in | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/dnf/const.py.in b/dnf/const.py.in
12 index 44a204a..a795098 100644
13 --- a/dnf/const.py.in
14 +++ b/dnf/const.py.in
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)',
24 -- 
25 2.7.4
26