summaryrefslogtreecommitdiff
path: root/classes/base.oeclass
diff options
context:
space:
mode:
authorTim Ansell <mithro@mithis.com>2004-11-25 11:30:58 +0000
committerTim Ansell <mithro@mithis.com>2004-11-25 11:30:58 +0000
commit9918acbe5451abe65b61363ce851b8b16e653062 (patch)
tree8784aa5795d0b756fb4a5930bcb173ba35e1f195 /classes/base.oeclass
parent2220f0ca2b02a634cad48d563996fbde726f5e69 (diff)
Merge bk://oe-devel@oe-devel.bkbits.net/packages
into mithis.com:/cc/packages 2004/11/25 21:26:24+10:30 mithis.com!mithro irda now works out of the box on C700 and C860. 2004/11/25 16:00:21+10:30 mithis.com!mithro Merge bk://oe-devel@oe-devel.bkbits.net/packages into mithis.com:/cc/packages 2004/11/22 06:03:48+10:30 com[tim]!mithro packages.cow7.diffs BKrev: 41a5c272IuQI7xqgYGRkklwBvdUGNw
Diffstat (limited to 'classes/base.oeclass')
-rw-r--r--classes/base.oeclass14
1 files changed, 8 insertions, 6 deletions
diff --git a/classes/base.oeclass b/classes/base.oeclass
index 35c7fbecd1..4e3e17137b 100644
--- a/classes/base.oeclass
+++ b/classes/base.oeclass
@@ -247,7 +247,7 @@ python do_showdata() {
# emit variables and shell functions
oe.data.emit_env(sys.__stdout__, d, True)
# emit the metadata which isnt valid shell
- for e in d.keys():
+ for e in oe.data.keys(d):
if oe.data.getVarFlag(e, 'python', d):
sys.__stdout__.write("\npython %s () {\n%s}\n" % (e, oe.data.getVar(e, d, 1)))
elif oe.data.getVarFlag(e, 'func', d):
@@ -263,7 +263,7 @@ python do_listtasks() {
# emit variables and shell functions
#oe.data.emit_env(sys.__stdout__, d)
# emit the metadata which isnt valid shell
- for e in d.keys():
+ for e in oe.data.keys(d):
if oe.data.getVarFlag(e, 'task', d):
sys.__stdout__.write("%s\n" % e)
}
@@ -299,9 +299,10 @@ addtask fetch
do_fetch[dirs] = "${DL_DIR}"
do_fetch[nostamp] = "1"
python base_do_fetch() {
- import sys, copy
+ import sys
- localdata = copy.deepcopy(d)
+ localdata = {}
+ oe.data.linkDataSet(localdata,d)
oe.data.update_data(localdata)
src_uri = oe.data.getVar('SRC_URI', localdata, 1)
@@ -373,9 +374,10 @@ def oe_unpack_file(file, data, url = None):
addtask unpack after do_fetch
do_unpack[dirs] = "${WORKDIR}"
python base_do_unpack() {
- import re, copy, os
+ import re, os
- localdata = copy.deepcopy(d)
+ localdata = {}
+ oe.data.linkDataSet(localdata,d)
oe.data.update_data(localdata)
src_uri = oe.data.getVar('SRC_URI', localdata)