aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/parse/parse_py/BBHandler.py
diff options
context:
space:
mode:
authorScott Weaver <weaverjs@gmail.com>2021-07-06 16:30:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-06 23:28:24 +0100
commit731fb52eb03338c0bdb2a2256c22c64c22bcbace (patch)
tree3d039350210330ffed6d1aa1d68984461130d0bd /lib/bb/parse/parse_py/BBHandler.py
parent40b4e2dcd24d3ed01d35d705928133aaa1c4a93b (diff)
downloadbitbake-731fb52eb03338c0bdb2a2256c22c64c22bcbace.tar.gz
fetch2: add check for empty SRC_URI hash stringyocto-3.3.22021-04.2-hardknott1.50.2
No error was being reported when the hash string was set to empty. For example: SRC_URI[md5sum] = "" On a related note (not a bug): Because whitespace in the string will result in a checksum mismatch, the error message was updated to make it a little clearer why the error was thrown. For example: SRC_URI[md5sum] = " " or SRC_URI[md5sum] = " 209f8326f5137d8817a6276d9577a2f1" Now creates a message like this: File: '/home/scott/yocto-cache/downloads/rsync-3.2.3.tar.gz' has md5 checksum '209f8326f5137d8817a6276d9577a2f1' when ' 209f8326f5137d8817a6276d9577a2f1' was expected [YOCTO #14232] Signed-off-by: Scott Weaver <weaverjs@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a13510d0028e234ea2f4744b0d0c38558395c70f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/parse/parse_py/BBHandler.py')
0 files changed, 0 insertions, 0 deletions