diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2013-11-20 18:35:39 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-09 18:01:44 +0000 |
commit | 2ef65cc86d6f2c354cb1fbe2e2f45247cbd4c9ca (patch) | |
tree | 9360c42cf62e6b76b1b7fab4f0a6ada5663725a6 /meta/recipes-support/attr | |
parent | fc0a1aac97bf96542d760cd01ae06351c11e280c (diff) | |
download | poky-2ef65cc86d6f2c354cb1fbe2e2f45247cbd4c9ca.tar.gz |
license.bbclass: fix copying license directories failed
For each recipe, it populated license files to ${LICENSE_DIRECTORY}/${PN},
such as kernel's license dir was ${LICENSE_DIRECTORY}/kernel-3.10.17-yocto-standard;
In do_rootfs task, it copied license directories from ${LICENSE_DIRECTORY}/
${pkg}, and ${pkg} was listed in ${INSTALLED_PKGS};
We got ${INSTALLED_PKGS} by rpm query, such as the kernel were 'kernel-*',
but the kernel's PN was linux-yocto, so searching ${LICENSE_DIRECTORY}/
kernel-* failed.
Copied license directories from ${LICENSE_DIRECTORY}/${PN} fixed this issue.
[YOCTO #5572]
(From OE-Core rev: 8968f9a3461912c8de217135f3691c86e2a58e86)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/attr')
0 files changed, 0 insertions, 0 deletions