Enalbe COPY_LIC_MANIFEST and COPY_LIC_DIRS: No kernel license is installed in image *env Add COPY_LIC_MANIFEST = "1" and COPY_LIC_DIRS = "1" to local.conf *problem Build image and no kernel license in ${IMAGE_ROOTFS}/usr/share/common-licenses/${pkg}/${lic}; jiahongxu:1.0-r0$bitbake core-image-minimal jiahongxu:1.0-r0$ ls rootfs/usr/share/common-licenses/kernel-3.10.17-yocto-standard jiahongxu:1.0-r0$ *analysis 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. *solution Copied license directories from ${LICENSE_DIRECTORY}/${PN} fixed this issue.
Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2ef65cc86d6f2c354cb1fbe2e2f45247cbd4c9ca