diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sstate.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index ace6bdb57a..f17db0b874 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -567,7 +567,7 @@ def pstaging_fetch(sstatefetch, sstatepkg, d): | |||
567 | bb.utils.mkdirhier(dldir) | 567 | bb.utils.mkdirhier(dldir) |
568 | 568 | ||
569 | localdata.delVar('MIRRORS') | 569 | localdata.delVar('MIRRORS') |
570 | localdata.delVar('FILESPATH') | 570 | localdata.setVar('FILESPATH', dldir) |
571 | localdata.setVar('DL_DIR', dldir) | 571 | localdata.setVar('DL_DIR', dldir) |
572 | localdata.setVar('PREMIRRORS', mirrors) | 572 | localdata.setVar('PREMIRRORS', mirrors) |
573 | 573 | ||
@@ -698,6 +698,8 @@ def sstate_checkhashes(sq_fn, sq_task, sq_hash, sq_hashfn, d): | |||
698 | bb.data.update_data(localdata) | 698 | bb.data.update_data(localdata) |
699 | 699 | ||
700 | dldir = localdata.expand("${SSTATE_DIR}") | 700 | dldir = localdata.expand("${SSTATE_DIR}") |
701 | localdata.delVar('MIRRORS') | ||
702 | localdata.setVar('FILESPATH', dldir) | ||
701 | localdata.setVar('DL_DIR', dldir) | 703 | localdata.setVar('DL_DIR', dldir) |
702 | localdata.setVar('PREMIRRORS', mirrors) | 704 | localdata.setVar('PREMIRRORS', mirrors) |
703 | 705 | ||