diff options
Diffstat (limited to 'meta/classes/staging.bbclass')
-rw-r--r-- | meta/classes/staging.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index 506ce0665e..78eb914921 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -408,7 +408,7 @@ python extend_recipe_sysroot() { | |||
408 | if os.path.islink(f) and not os.path.exists(f): | 408 | if os.path.islink(f) and not os.path.exists(f): |
409 | bb.note("%s no longer exists, removing from sysroot" % f) | 409 | bb.note("%s no longer exists, removing from sysroot" % f) |
410 | lnk = os.readlink(f.replace(".complete", "")) | 410 | lnk = os.readlink(f.replace(".complete", "")) |
411 | sstate_clean_manifest(depdir + "/" + lnk, d, workdir) | 411 | sstate_clean_manifest(depdir + "/" + lnk, d, canrace=True, prefix=workdir) |
412 | os.unlink(f) | 412 | os.unlink(f) |
413 | os.unlink(f.replace(".complete", "")) | 413 | os.unlink(f.replace(".complete", "")) |
414 | 414 | ||
@@ -453,7 +453,7 @@ python extend_recipe_sysroot() { | |||
453 | fl = depdir + "/" + l | 453 | fl = depdir + "/" + l |
454 | bb.note("Task %s no longer depends on %s, removing from sysroot" % (mytaskname, l)) | 454 | bb.note("Task %s no longer depends on %s, removing from sysroot" % (mytaskname, l)) |
455 | lnk = os.readlink(fl) | 455 | lnk = os.readlink(fl) |
456 | sstate_clean_manifest(depdir + "/" + lnk, d, workdir) | 456 | sstate_clean_manifest(depdir + "/" + lnk, d, canrace=True, prefix=workdir) |
457 | os.unlink(fl) | 457 | os.unlink(fl) |
458 | os.unlink(fl + ".complete") | 458 | os.unlink(fl + ".complete") |
459 | 459 | ||
@@ -474,7 +474,7 @@ python extend_recipe_sysroot() { | |||
474 | continue | 474 | continue |
475 | else: | 475 | else: |
476 | bb.note("%s exists in sysroot, but is stale (%s vs. %s), removing." % (c, lnk, c + "." + taskhash)) | 476 | bb.note("%s exists in sysroot, but is stale (%s vs. %s), removing." % (c, lnk, c + "." + taskhash)) |
477 | sstate_clean_manifest(depdir + "/" + lnk, d, workdir) | 477 | sstate_clean_manifest(depdir + "/" + lnk, d, canrace=True, prefix=workdir) |
478 | os.unlink(depdir + "/" + c) | 478 | os.unlink(depdir + "/" + c) |
479 | if os.path.lexists(depdir + "/" + c + ".complete"): | 479 | if os.path.lexists(depdir + "/" + c + ".complete"): |
480 | os.unlink(depdir + "/" + c + ".complete") | 480 | os.unlink(depdir + "/" + c + ".complete") |