aboutsummaryrefslogtreecommitdiffstats
path: root/classes/package.bbclass
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-05-17 18:39:51 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-05-17 18:39:51 +0000
commit2f9ad2e658e8ad53ecdb6eb82358eb858a8de5f5 (patch)
tree42c561e0b7ea349e57348c61f27faf0b3f097c7e /classes/package.bbclass
parent9fa8c781ca71c751c09dbcb96363f66e1a455837 (diff)
downloadopenembedded-2f9ad2e658e8ad53ecdb6eb82358eb858a8de5f5.tar.gz
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/05/17 20:39:04+02:00 uni-frankfurt.de!mickeyl add python-pygtk2 to task-python-everything 2005/05/17 20:32:02+02:00 uni-frankfurt.de!mickeyl apply zecke's patches to prepare for the low memory bitbake. the repository needs bitbake r159 or better now BKrev: 428a3a77SoUtXtfto7tXtwiSdrA1ew
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r--classes/package.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 9abecd5550..d6a2193404 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -82,7 +82,7 @@ def do_split_packages(d, root, file_regex, output_pattern, description, postinst
bb.data.setVar('PACKAGES', ' '.join(packages), d)
python populate_packages () {
- import glob, stat, errno, re, copy
+ import glob, stat, errno, re
workdir = bb.data.getVar('WORKDIR', d, 1)
if not workdir:
@@ -122,7 +122,7 @@ python populate_packages () {
return (s[stat.ST_MODE] & stat.S_IEXEC)
for pkg in packages.split():
- localdata = copy.deepcopy(d)
+ localdata = bb.data.createCopy(d)
root = os.path.join(workdir, "install", pkg)
os.system('rm -rf %s' % root)
@@ -457,7 +457,7 @@ python package_do_pkgconfig () {
for file in files:
m = pc_re.match(file)
if m:
- pd = {}
+ pd = bb.data.init()
name = m.group(1)
pkgconfig_provided[pkg].append(name)
path = os.path.join(root, file)