From 2f9ad2e658e8ad53ecdb6eb82358eb858a8de5f5 Mon Sep 17 00:00:00 2001 From: "nslu2-linux.adm@bkbits.net" Date: Tue, 17 May 2005 18:39:51 +0000 Subject: 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 --- classes/package.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'classes/package.bbclass') 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) -- cgit v1.2.3