From: Joshua Lock <joshua.g.lock@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/4] Make oe.lsb.distro_identifier() more consistent
Date: Mon, 7 Nov 2016 22:47:21 +0000 [thread overview]
Message-ID: <cover.1478558432.git.joshua.g.lock@intel.com> (raw)
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.
The following changes since commit 98c6ebf1e05158c689e01b785d32757847cdb10c:
oeqa/selftest/kernel.py: Add new file destined for kernel related tests (2016-11-01 10:05:40 +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 | 70 +++++++++++++++++++++++++++++++++++------------------
meta/lib/oe/path.py | 1 -
2 files changed, 46 insertions(+), 25 deletions(-)
--
2.7.4
next reply other threads:[~2016-11-07 22:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-07 22:47 Joshua Lock [this message]
2016-11-07 22:47 ` [PATCH 1/4] lib/oe/path: remove duplicate import Joshua Lock
2016-11-07 22:47 ` [PATCH 2/4] lib/oe/lsb: make the release dict keys consistent regardless of source Joshua Lock
2016-11-07 22:47 ` [PATCH 3/4] lib/oe/lsb: prefer /etc/os-release for distribution data Joshua Lock
2016-11-07 22:47 ` [PATCH 4/4] lib/oe/lsb: attempt to ensure consistent distro id regardless of source Joshua Lock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1478558432.git.joshua.g.lock@intel.com \
--to=joshua.g.lock@intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox