]> code.ossystems Code Review - openembedded-core.git/commit
devtool: default to empty string, if LIC_FILES_CHKSUM is not available
authorBjarne Michelsen <bjarne_michelsen@hotmail.com>
Mon, 6 Jul 2020 19:42:26 +0000 (21:42 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Jul 2020 09:37:08 +0000 (10:37 +0100)
commit95e112f0f465868e98285509ea0d1a624a439ac2
tree4208fa09d1f383e44cfb6ccde67c7da7302f8f38
parentc1632d7041fe0c18ec61abfa79a9c025af43c033
devtool: default to empty string, if LIC_FILES_CHKSUM is not available

[Bug 13971] https://bugzilla.yoctoproject.org/show_bug.cgi?id=13971

A recipe using LICENSE=CLOSED would normally not have LIC_FILES_CHKSUM
set.
If LIC_FILES_CHKSUM was not set, it would cause `devtool upgrade` to fail.

This fixes the issue by defaulting to an empty string if
LIC_FILES_CHKSUM is not found.

[YOCTO #13971]

Signed-off-by: Bjarne Michelsen <bjarne_michelsen@hotmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/upgrade.py