diff options
author | Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> | 2020-11-17 15:41:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-03 23:02:07 +0000 |
commit | 4315a123309ee64606808dfcc3f47e9e36003dc3 (patch) | |
tree | 2088238537df13bd61b08afeb32a43f8230cb8f9 /scripts/bitbake-whatchanged | |
parent | 9b58e1d1a87c1b33b180f71799cb32b3ce31211e (diff) | |
download | poky-4315a123309ee64606808dfcc3f47e9e36003dc3.tar.gz |
license_image.bbclass: use canonical name for license files
When copying license files to the image rootfs, i.e to
/usr/share/common-licenses, a canonical name of a license should be
used, otherwise duplicated files end up in common-licenses directory.
For example, GPL-2.0 license according to conf/license.conf can be
referenced in recipes as GPL-2, GPLv2, and GPLv2.0. If a license name is
used directly, we end up with three files in the rootfs with the same
content. If a canonical name used instead, then each license gets copied
only once.
(From OE-Core rev: 0fda54af52dfb57598ea9409113d33dacb786dc1)
Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 670fe71dd18ea675f35581db4a61fda137f8bf00)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/bitbake-whatchanged')
0 files changed, 0 insertions, 0 deletions