diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-11 00:56:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-11 00:57:03 +0100 |
commit | 0793c758b15e5007b4dd4b146987a0e74d6f6cba (patch) | |
tree | 08aed41a2f1f445209bfaf80446561b0279a6c04 /meta | |
parent | 177d4be3c1714270e4d94fcea3106934a7d5c6e5 (diff) | |
download | poky-0793c758b15e5007b4dd4b146987a0e74d6f6cba.tar.gz |
Revert "staging: Fix sysroot problem with populate_sysroot dependencies on do_fetch"
There seems to be an issue with the patch, revert for now.
This reverts commit cd5e0a32184d98beb8d81e6b5527166d3ca4fb3c.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/staging.bbclass | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index c50abd0551..27fcd1efa9 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -647,11 +647,6 @@ python staging_taskhandler() { | |||
647 | deps = d.getVarFlag(task, "depends") | 647 | deps = d.getVarFlag(task, "depends") |
648 | if deps and "populate_sysroot" in deps: | 648 | if deps and "populate_sysroot" in deps: |
649 | d.appendVarFlag(task, "prefuncs", " extend_recipe_sysroot") | 649 | d.appendVarFlag(task, "prefuncs", " extend_recipe_sysroot") |
650 | # If this is do_fetch, we need to move the cleandirs above to the extend_recipe_sysroot task | ||
651 | # else we'd wipe out the sysroot we just created. | ||
652 | if task == "do_fetch": | ||
653 | d.setVarFlag("extend_recipe_sysroot", "cleandirs", d.getVarFlag(task, "cleandirs")) | ||
654 | d.delVarFlag(task, "cleandirs") | ||
655 | } | 650 | } |
656 | staging_taskhandler[eventmask] = "bb.event.RecipeTaskPreProcess" | 651 | staging_taskhandler[eventmask] = "bb.event.RecipeTaskPreProcess" |
657 | addhandler staging_taskhandler | 652 | addhandler staging_taskhandler |