diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/sstate.bbclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 92c3a274f..fb30a18b7 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -154,8 +154,12 @@ def sstate_installpkg(ss, d): sstate_install(ss, d) for plain in ss['plaindirs']: - bb.mkdirhier(sstateinst + plain) - oe.path.copytree(sstateinst + plain, bb.data.getVar('WORKDIR', d, True) + plain) + workdir = d.getVar('WORKDIR', True) + src = sstateinst + "/" + plain.replace(workdir, '') + dest = plain + bb.mkdirhier(src) + bb.mkdirhier(dest) + oe.path.copytree(src, dest) return True |