diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/lsb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/lsb.py b/meta/lib/oe/lsb.py index 8018c7b076..5a795a12d3 100644 --- a/meta/lib/oe/lsb.py +++ b/meta/lib/oe/lsb.py | |||
@@ -10,7 +10,7 @@ def release_dict_osr(): | |||
10 | key, val = line.rstrip().split('=', 1) | 10 | key, val = line.rstrip().split('=', 1) |
11 | except ValueError: | 11 | except ValueError: |
12 | continue | 12 | continue |
13 | if key == 'NAME': | 13 | if key == 'ID': |
14 | data['DISTRIB_ID'] = val.strip('"') | 14 | data['DISTRIB_ID'] = val.strip('"') |
15 | if key == 'VERSION_ID': | 15 | if key == 'VERSION_ID': |
16 | data['DISTRIB_RELEASE'] = val.strip('"') | 16 | data['DISTRIB_RELEASE'] = val.strip('"') |
@@ -107,7 +107,7 @@ def distro_identifier(adjust_hook=None): | |||
107 | distro_id = re.sub(r'\W', '', distro_id) | 107 | distro_id = re.sub(r'\W', '', distro_id) |
108 | 108 | ||
109 | if release: | 109 | if release: |
110 | id_str = '{0}-{1}'.format(distro_id, release) | 110 | id_str = '{0}-{1}'.format(distro_id.lower(), release) |
111 | else: | 111 | else: |
112 | id_str = distro_id | 112 | id_str = distro_id |
113 | return id_str.replace(' ','-').replace('/','-') | 113 | return id_str.replace(' ','-').replace('/','-') |