| Summary: | oe.lsb.distro_identifier() doesn't always return the same value for CentOS 7 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Joshua Lock <joshuagloe> |
| Component: | core | Assignee: | Joshua Lock <joshuagloe> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | abuse, meta.mr.watcher, meta.watcher |
| Version: | 2.2 | ||
| Target Milestone: | 2.3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Joshua Lock
2016-11-03 10:34:06 UTC
As a side note, a possible reason of having lsb_release installed is by having the Google Chrome browser installed which requires lsb >= 4.0. *** Bug 10577 has been marked as a duplicate of this bug. *** We can make this even less likely to be an issue if we also switch to using the ID field from os-release, rather than NAME, and returning a lowercase identifier from the distro_identifier() function. For each host distribution supported by the Yocto Project, other than openSUSE, this would result in the same identifier being returned regardless of whether it was the source was os-release or lsb_release. Distribution | Version | Distributor ID | NAME | ID | ------------------------------------------------------------------------- CentOS | 7 | CentOS | CentOS Linux | centos | Debian | 8 | Debian | Debian GNU/Linux | debian | Fedora | 23 | Fedora | Fedora | fedora | Fedora | 24 | Fedora | Fedora | fedora | openSUSE | 13.2 | openSUSE project | openSUSE | opensuse | openSUSE | 42.1 | SUSE LINUX | openSUSE Leap | opensuse | Ubuntu | 14.04 | Ubuntu | Ubuntu | ubuntu | Ubuntu | 16.04 | Ubuntu | Ubuntu | ubuntu | Patches submitted to oe-core to improve the distro reporting mechanism: http://lists.openembedded.org/pipermail/openembedded-core/2016-November/128496.html and to meta-yocto to adapt to these changes: https://lists.yoctoproject.org/pipermail/poky/2016-November/010789.html v2 series submitted to oe-core to better handle some of the variations in os-release format: http://lists.openembedded.org/pipermail/openembedded-core/2016-November/128528.html Resolved in OE-Core: * http://git.openembedded.org/openembedded-core/commit/?id=2ddd6ddaf0c5ba14ae83347eba877ac9ef179c76 * http://git.openembedded.org/openembedded-core/commit/?id=fc4eddecddec68d03a985086fa32db40ad0c7bfc * http://git.openembedded.org/openembedded-core/commit/?id=8689e5618d45c2119134ea64754430c06a93ea09 * http://git.openembedded.org/openembedded-core/commit/?id=e36066dcc3b56cac1c695370ea178b566c0ebfd6 |