summaryrefslogtreecommitdiff
path: root/classes/package.oeclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/package.oeclass')
-rw-r--r--classes/package.oeclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/classes/package.oeclass b/classes/package.oeclass
index e26f5e90cc..443c057147 100644
--- a/classes/package.oeclass
+++ b/classes/package.oeclass
@@ -98,7 +98,7 @@ def package_frob_arch(d):
return
python populate_packages () {
- import glob, stat, errno, re
+ import glob, copy, stat, errno, re
workdir = oe.data.getVar('WORKDIR', d, 1)
if not workdir:
@@ -140,8 +140,7 @@ python populate_packages () {
return (s[stat.ST_MODE] & stat.S_IEXEC)
for pkg in packages.split():
- localdata = {}
- oe.data.linkDataSet(localdata,d)
+ localdata = copy.deepcopy(d)
root = os.path.join(workdir, "install", pkg)
os.system('rm -rf %s' % root)