]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/lsb: Make sure the distro ID is always lowercased
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 27 Sep 2019 10:33:52 +0000 (12:33 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Sep 2019 12:37:23 +0000 (13:37 +0100)
commit4ba7ef79d23a4cf688d7a794064893fe5f2f473b
treee69fb3fbad7885c2d817594498aa93f1a11c4532
parent1a1b9e3ff33dea964bdf79bc47b5c7801e4df5a5
lib/oe/lsb: Make sure the distro ID is always lowercased

In commit 8689e561 (lib/oe/lsb: attempt to ensure consistent distro id
regardless of source), the distro ID returned by
oe.lsb.distro_identifier() was lowercased, but only if a release
version is also present.

This changes the code to always lowercase the distro ID, including the
default distro ID "unknown", which is used if no other ID can be
identified.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/lsb.py