]> code.ossystems Code Review - openembedded-core.git/commit
license.bbclass: fix license_create_manifest failed
authorHongxu Jia <hongxu.jia@windriver.com>
Mon, 27 Jan 2014 01:49:08 +0000 (09:49 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 11:50:29 +0000 (11:50 +0000)
commit39f8658033c886fedefc9038a673f9a5edad7d26
tree10b132934406025235e3741f10acc805047e6d5d
parent4477991633d2971c17afbd0874b1ab2efb7d6eef
license.bbclass: fix license_create_manifest failed

While rpm incremental image generation enabled, invoked
license_create_manifest failed.
...
| ln: failed to create symbolic link 'tmp/work/qemux86_
64-poky-linux/core-image-base/1.0-r0/rootfs/usr/share/
common-licenses/alsa-conf-base/generic_GPLv2':File exists
| WARNING:tmp/work/qemux86_64-poky-linux/core-image-base/
1.0-r0/temp/run.license_create_manifest.26327:1 exit 1 from
|   ln -s ../${lic}/home/jiahongxu/yocto/build-20140120-
yocto-qemux86-64/tmp/work/qemux86_64-poky-linux/core-image
-base/1.0-r0/rootfs/usr/share/common-licenses/${pkg}/${lic}
...

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
meta/classes/license.bbclass