]> code.ossystems Code Review - openembedded-core.git/commit
populate_sdk_ext.bbclass: check unfsd before create it
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 7 Nov 2016 08:03:22 +0000 (00:03 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Nov 2016 15:18:49 +0000 (15:18 +0000)
commita400c130037497f08a1645984129c5ddba76c031
treef05e7d17ea77562c46a83299755e85d9c988b5f0
parent572ae87d5fd7fbde87affd2fdc267ac33f3544ff
populate_sdk_ext.bbclass: check unfsd before create it

Fixed when nativesdk-unfs3 is installed:
$ bitbake <image> -c populate_sdk_ext
| Traceback (most recent call last):
|   File "/path/to/oe-core/scripts/lnr", line 21, in <module>
|     os.symlink(target, linkname)
| FileExistsError: [Errno 17] File exists: '../../../../tmp/sysroots/x86_64-linux/usr/bin/unfsd' -> '/path/to/9.0/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/unfsd'

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/populate_sdk_ext.bbclass