summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-testtools
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2022-06-03 02:06:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-22 23:46:32 +0100
commitf51a25441545deb3f7cf0e30072e8f40ba41f2f6 (patch)
treeeae74bae4ebaa7f90271520fe7d44c8cefdb06c2 /meta/recipes-devtools/python/python3-testtools
parent1487d683889194f1e7a17660685a0e95b3b5099d (diff)
downloadpoky-f51a25441545deb3f7cf0e30072e8f40ba41f2f6.tar.gz
license.bbclass: Bound beginline and endline in copy_license_files()
Ensure that begin_idx (i.e., beginline - 1) and end_idx (i.e., endline) are positive numbers in copy_license_files(). This makes sure the same lines are copied as populate_lic_qa_checksum() uses when it calculates the checksum. Before, beginline=0 would typically lead to that no lines were copied at all. (From OE-Core rev: 27cd074d747c5ef4b475c8a62a8ede2bbe58f996) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ab3cc3651d08d226675c461da760cda0bb6c0ce0) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-testtools')
0 files changed, 0 insertions, 0 deletions