]> code.ossystems Code Review - openembedded-core.git/commit
staging: Fix sysroot problem with populate_sysroot dependencies on do_fetch
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Apr 2017 18:59:33 +0000 (19:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Apr 2017 19:10:14 +0000 (20:10 +0100)
commitcd5e0a32184d98beb8d81e6b5527166d3ca4fb3c
tree4f0059dab2600c51068b32423a53f5928d700c70
parent809b23c829f352c0eae455ea89f53e2a9ee87f06
staging: Fix sysroot problem with populate_sysroot dependencies on do_fetch

Dependencies on svn:// urls were failing as the cleandirs on do_fetch was destroying
any sysroot setup by the extend_recipe_sysroot function.

Add code so that if the task do_fetch, we move the cleandirs to the extend_recipe_sysroot
task else we'd wipe out the sysroot we just created.

This allows fetcher do_populate_sysroot dependencies to work correctly again.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/staging.bbclass