summaryrefslogtreecommitdiff
path: root/classes/package.oeclass
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-25 11:54:50 +0000
committerChris Larson <clarson@kergoth.com>2004-11-25 11:54:50 +0000
commit816ba5333d871c38d6b58e55eafda7ed827a99b1 (patch)
treef60ddf2ad6dff0b5179c60b7d01746e02f258c56 /classes/package.oeclass
parent9918acbe5451abe65b61363ce851b8b16e653062 (diff)
Unapply mithro's packages.cow7.diffs cset.
BKrev: 41a5c80aodDISNWzsp_eYlw7hpu1Gw
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)