Make oe.lsb.distro_identifier() more consistent
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 0 repliesNew
- v14 patches 0 repliesSuperseded
Changes in v2 from the cover letter
* improve release_dict_osr() in patch 3 to handle empty lines and values with surrounding quotation marks in /etc/os-release, as used in CentOS
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | lib/oe/path: remove duplicate importmeta/ | +0 | 0 replies | |
| 2/4 | lib/oe/lsb: make the release dict keys consistent regardless of sourcemeta/ | +21 | 0 replies | |
| 3/4 | lib/oe/lsb: prefer /etc/os-release for distribution datameta/ | +28 | 0 replies | |
| 4/4 | lib/oe/lsb: attempt to ensure consistent distro id regardless of sourcemeta/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/4] Make oe.lsb.distro_identifier() more consistent
The oe.lsb.distro_identifier() method call will return different identification information depending on the source which is found to provide that information.
This series attempts to address this in two ways:
1) preferring os-release(5) as the source of distribution identification. this increasingly common standard mechanism is available on each of the build host distributions we commonly test on.
2) converting the distribution identifier to lower case before including it in the distro_identifier return value. This ensures that, for most of the tested distros, the identifier returned via the LSB code paths matches that returned by the os-release code paths.
Changes since v1:
* improve release_dict_osr() in patch 3 to handle empty lines and values with surrounding quotation marks in /etc/os-release, as used in CentOS
The following changes since commit 9303d8055c45a0f6af295d70a6f6a8b9d8d8a7c9:
devtool: add "rename" subcommand (2016-11-07 11:04:17 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib joshuagl/liboe
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=joshuagl/liboe
Joshua Lock (4):
lib/oe/path: remove duplicate import
lib/oe/lsb: make the release dict keys consistent regardless of source lib/oe/lsb: prefer /etc/os-release for distribution data lib/oe/lsb: attempt to ensure consistent distro id regardless of
source
meta/lib/oe/lsb.py | 73 +++++++++++++++++++++++++++++++++++------------------ meta/lib/oe/path.py | 1 - 2 files changed, 49 insertions(+), 25 deletions(-)
Signature · 1 line
2.7.4