diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-02-17 14:22:29 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-17 15:30:48 +0000 |
commit | 53578cef2cbc59dcc637d1cc561f63b3c448425a (patch) | |
tree | 0751ce6ffe3ce75dad3e98b40d5245d5995ff0e6 /meta/recipes-sato/matchbox-keyboard | |
parent | f9e678bd854c65e01d14c14bafd7c1550db55f24 (diff) | |
download | openembedded-core-53578cef2cbc59dcc637d1cc561f63b3c448425a.tar.gz openembedded-core-53578cef2cbc59dcc637d1cc561f63b3c448425a.tar.bz2 openembedded-core-53578cef2cbc59dcc637d1cc561f63b3c448425a.zip |
classes/populate_sdk_base: fix race condition with do_rootfs
do_rootfs has ${S} in cleandirs, and during do_populate_sdk we call
exec_func() several times, which by default uses ${B} as the working
directory. If do_populate_sysroot and do_rootfs race against eachother,
the directory may not exist at the exact instant that the setup code
for do_populate_sdk tries to cd into it. We don't actually use ${B}
for do_populate_sysroot so we can set it to something else just for that
task to avoid the race.
NOTE: because this task name contains an underscore, the override will
not work; the BitBake patch that changes these to hyphens for the
task override is required for this patch to work (but won't break things
without it.)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/matchbox-keyboard')
0 files changed, 0 insertions, 0 deletions