summaryrefslogtreecommitdiffstats
path: root/meta/classes/staging.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/staging.bbclass')
-rw-r--r--meta/classes/staging.bbclass11
1 files changed, 6 insertions, 5 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 286d7b7e9e..a90cf43c94 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -497,8 +497,8 @@ python extend_recipe_sysroot() {
497 for l in f: 497 for l in f:
498 l = l.strip() 498 l = l.strip()
499 if l not in installed: 499 if l not in installed:
500 l = depdir + "/" + l 500 fl = depdir + "/" + l
501 if not os.path.exists(l): 501 if not os.path.exists(fl):
502 # Was likely already uninstalled 502 # Was likely already uninstalled
503 continue 503 continue
504 potential.append(l) 504 potential.append(l)
@@ -514,11 +514,12 @@ python extend_recipe_sysroot() {
514 if l in potential: 514 if l in potential:
515 potential.remove(l) 515 potential.remove(l)
516 for l in potential: 516 for l in potential:
517 fl = depdir + "/" + l
517 bb.note("Task %s no longer depends on %s, removing from sysroot" % (mytaskname, l)) 518 bb.note("Task %s no longer depends on %s, removing from sysroot" % (mytaskname, l))
518 lnk = os.readlink(l) 519 lnk = os.readlink(fl)
519 sstate_clean_manifest(depdir + "/" + lnk, d, workdir) 520 sstate_clean_manifest(depdir + "/" + lnk, d, workdir)
520 os.unlink(l) 521 os.unlink(fl)
521 os.unlink(l + ".complete") 522 os.unlink(fl + ".complete")
522 523
523 for dep in configuredeps: 524 for dep in configuredeps:
524 c = setscenedeps[dep][0] 525 c = setscenedeps[dep][0]