mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 07:21:14 +02:00
Merge pull request #2357 from crawford/python
dev-lang/python-oem: hardcode distname to coreos
This commit is contained in:
commit
4e55cd3d06
@ -68,7 +68,7 @@ diff -r 12bf7fc1ba76 Lib/platform.py
|
|||||||
+ os_release_info = _parse_os_release()
|
+ os_release_info = _parse_os_release()
|
||||||
+ if os_release_info is not None:
|
+ if os_release_info is not None:
|
||||||
+ if 'NAME' in os_release_info:
|
+ if 'NAME' in os_release_info:
|
||||||
+ distname = os_release_info['NAME']
|
+ distname = "CoreOS"
|
||||||
+ if 'VERSION_ID' in os_release_info:
|
+ if 'VERSION_ID' in os_release_info:
|
||||||
+ version = os_release_info['VERSION_ID']
|
+ version = os_release_info['VERSION_ID']
|
||||||
+ if 'ID' in os_release_info:
|
+ if 'ID' in os_release_info:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user