]> 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>
Tue, 5 Nov 2019 22:08:39 +0000 (23:08 +0100)
committerArmin Kuster <akuster808@gmail.com>
Sun, 10 Nov 2019 22:48:46 +0000 (14:48 -0800)
commitc552c9f0fe0f8aaa230a4c6a410a00e8b99a74ae
tree816e9567d074a425ff3206227c605743b9800b30
parent950168bce4ee69b04d7679d9e2d164e2f5c36953
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/lib/oe/lsb.py