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