When buiding images on ubuntu, the license files are not copied to target even if the two options are enabled. Bunches of following errors appear in log.do_rootfs. [[:not found The problem is that on ubuntu sh is linked to dash which considers [[ as a bashism and doesn't support it. We need to avoid bashism whenever possible in our project. //Chen Qi
Branch: master Commit: 4df9daee5c732c0a20dabe8515577238a1508512 URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4df9daee5c732c0a20dabe8515577238a1508512
verified in poky master: 005af45191ded6185c618c708181b31281e43092 test step: modify meta/conf/licenses.conf uncomment the lines: COPY_LIC_MANIFEST = "1" COPY_LIC_DIRS = "1" bitbake core-image-minimal no error log found in tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/temp/log.do_rootfs