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 806a85773a..32a615c743 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass | |||
@@ -409,7 +409,7 @@ python extend_recipe_sysroot() { | |||
409 | if os.path.islink(f) and not os.path.exists(f): | 409 | if os.path.islink(f) and not os.path.exists(f): |
410 | bb.note("%s no longer exists, removing from sysroot" % f) | 410 | bb.note("%s no longer exists, removing from sysroot" % f) |
411 | lnk = os.readlink(f.replace(".complete", "")) | 411 | lnk = os.readlink(f.replace(".complete", "")) |
412 | sstate_clean_manifest(depdir + "/" + lnk, d, workdir) | 412 | sstate_clean_manifest(depdir + "/" + lnk, d, canrace=True, prefix=workdir) |
413 | os.unlink(f) | 413 | os.unlink(f) |
414 | os.unlink(f.replace(".complete", "")) | 414 | os.unlink(f.replace(".complete", "")) |
415 | 415 | ||
@@ -454,7 +454,7 @@ python extend_recipe_sysroot() { | |||
454 | fl = depdir + "/" + l | 454 | fl = depdir + "/" + l |
455 | bb.note("Task %s no longer depends on %s, removing from sysroot" % (mytaskname, l)) | 455 | bb.note("Task %s no longer depends on %s, removing from sysroot" % (mytaskname, l)) |
456 | lnk = os.readlink(fl) | 456 | lnk = os.readlink(fl) |
457 | sstate_clean_manifest(depdir + "/" + lnk, d, workdir) | 457 | sstate_clean_manifest(depdir + "/" + lnk, d, canrace=True, prefix=workdir) |
458 | os.unlink(fl) | 458 | os.unlink(fl) |
459 | os.unlink(fl + ".complete") | 459 | os.unlink(fl + ".complete") |
460 | 460 | ||
@@ -475,7 +475,7 @@ python extend_recipe_sysroot() { | |||
475 | continue | 475 | continue |
476 | else: | 476 | else: |
477 | bb.note("%s exists in sysroot, but is stale (%s vs. %s), removing." % (c, lnk, c + "." + taskhash)) | 477 | bb.note("%s exists in sysroot, but is stale (%s vs. %s), removing." % (c, lnk, c + "." + taskhash)) |
478 | sstate_clean_manifest(depdir + "/" + lnk, d, workdir) | 478 | sstate_clean_manifest(depdir + "/" + lnk, d, canrace=True, prefix=workdir) |
479 | os.unlink(depdir + "/" + c) | 479 | os.unlink(depdir + "/" + c) |
480 | if os.path.lexists(depdir + "/" + c + ".complete"): | 480 | if os.path.lexists(depdir + "/" + c + ".complete"): |
481 | os.unlink(depdir + "/" + c + ".complete") | 481 | os.unlink(depdir + "/" + c + ".complete") |