Skip to content
Commit 3001199c authored by Peter Kjellerstedt's avatar Peter Kjellerstedt Committed by Steve Sakoman
Browse files

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.

Signed-off-by: default avatarPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab3cc365)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent f9f1e7fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment