]> 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)
committerSteve Sakoman <steve@sakoman.com>
Tue, 14 Jul 2020 03:14:28 +0000 (17:14 -1000)
commit9c7f3281884c50dbd05e2966e2409255c127ebfa
tree0e8c147c1c677839eb22cd1aebbd87db05cf8cf8
parente5405189e6d1b3b3b236aa8fe7a577c72f6af8d8
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>
(cherry picked from commit 95e112f0f465868e98285509ea0d1a624a439ac2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/lib/devtool/upgrade.py