summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 2f0632af89..a710305086 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -569,7 +569,7 @@ def pstaging_fetch(sstatefetch, sstatepkg, d):
569 bb.utils.mkdirhier(dldir) 569 bb.utils.mkdirhier(dldir)
570 570
571 localdata.delVar('MIRRORS') 571 localdata.delVar('MIRRORS')
572 localdata.delVar('FILESPATH') 572 localdata.setVar('FILESPATH', dldir)
573 localdata.setVar('DL_DIR', dldir) 573 localdata.setVar('DL_DIR', dldir)
574 localdata.setVar('PREMIRRORS', mirrors) 574 localdata.setVar('PREMIRRORS', mirrors)
575 575
@@ -700,6 +700,8 @@ def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d):
700 bb.data.update_data(localdata) 700 bb.data.update_data(localdata)
701 701
702 dldir = localdata.expand("${SSTATE_DIR}") 702 dldir = localdata.expand("${SSTATE_DIR}")
703 localdata.delVar('MIRRORS')
704 localdata.setVar('FILESPATH', dldir)
703 localdata.setVar('DL_DIR', dldir) 705 localdata.setVar('DL_DIR', dldir)
704 localdata.setVar('PREMIRRORS', mirrors) 706 localdata.setVar('PREMIRRORS', mirrors)
705 707