diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2022-06-03 02:06:49 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-11 10:06:13 +0100 |
| commit | a04b59c40b38e74aa3a76740065598e256e50f2c (patch) | |
| tree | b0de60acfe6d0f0a7254e53ebc30815b7f81a6e2 /scripts/lib/devtool/runqemu.py | |
| parent | 5c04e06d768bd98f5203bebdf9134f92ace55a03 (diff) | |
| download | poky-a04b59c40b38e74aa3a76740065598e256e50f2c.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: 3001199ca8da38208649e8016e77880690835706)
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 'scripts/lib/devtool/runqemu.py')
0 files changed, 0 insertions, 0 deletions
