diff options
-rw-r--r-- | meta/classes/staging.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index de3a19815a..f0a619b35b 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -614,7 +614,7 @@ python staging_taskhandler() { | |||
614 | bbtasks = e.tasklist | 614 | bbtasks = e.tasklist |
615 | for task in bbtasks: | 615 | for task in bbtasks: |
616 | deps = d.getVarFlag(task, "depends") | 616 | deps = d.getVarFlag(task, "depends") |
617 | if deps and "populate_sysroot" in deps: | 617 | if task == "do_configure" or (deps and "populate_sysroot" in deps): |
618 | d.appendVarFlag(task, "prefuncs", " extend_recipe_sysroot") | 618 | d.appendVarFlag(task, "prefuncs", " extend_recipe_sysroot") |
619 | } | 619 | } |
620 | staging_taskhandler[eventmask] = "bb.event.RecipeTaskPreProcess" | 620 | staging_taskhandler[eventmask] = "bb.event.RecipeTaskPreProcess" |