diff options
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index da0807d6e9..482ffa83f9 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -379,7 +379,7 @@ def sstate_installpkgdir(ss, d): | |||
379 | 379 | ||
380 | for plain in ss['plaindirs']: | 380 | for plain in ss['plaindirs']: |
381 | workdir = d.getVar('WORKDIR') | 381 | workdir = d.getVar('WORKDIR') |
382 | sharedworkdir = os.path.join(d.getVar('TMPDIR', True), "work-shared") | 382 | sharedworkdir = os.path.join(d.getVar('TMPDIR'), "work-shared") |
383 | src = sstateinst + "/" + plain.replace(workdir, '') | 383 | src = sstateinst + "/" + plain.replace(workdir, '') |
384 | if sharedworkdir in plain: | 384 | if sharedworkdir in plain: |
385 | src = sstateinst + "/" + plain.replace(sharedworkdir, '') | 385 | src = sstateinst + "/" + plain.replace(sharedworkdir, '') |
@@ -640,7 +640,7 @@ def sstate_package(ss, d): | |||
640 | os.rename(state[1], sstatebuild + state[0]) | 640 | os.rename(state[1], sstatebuild + state[0]) |
641 | 641 | ||
642 | workdir = d.getVar('WORKDIR') | 642 | workdir = d.getVar('WORKDIR') |
643 | sharedworkdir = os.path.join(d.getVar('TMPDIR', True), "work-shared") | 643 | sharedworkdir = os.path.join(d.getVar('TMPDIR'), "work-shared") |
644 | for plain in ss['plaindirs']: | 644 | for plain in ss['plaindirs']: |
645 | pdir = plain.replace(workdir, sstatebuild) | 645 | pdir = plain.replace(workdir, sstatebuild) |
646 | if sharedworkdir in plain: | 646 | if sharedworkdir in plain: |