summaryrefslogtreecommitdiff
path: root/classes/package_ipk.oeclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/package_ipk.oeclass')
-rw-r--r--classes/package_ipk.oeclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/package_ipk.oeclass b/classes/package_ipk.oeclass
index f680b1bca3..5ec1f82cdc 100644
--- a/classes/package_ipk.oeclass
+++ b/classes/package_ipk.oeclass
@@ -60,6 +60,7 @@ python package_ipk_install () {
}
python package_ipk_do_package_ipk () {
+ import copy # to back up env data
import sys
workdir = oe.data.getVar('WORKDIR', d, 1)
@@ -95,8 +96,8 @@ python package_ipk_do_package_ipk () {
return
for pkg in packages.split():
- localdata = {}
- oe.data.linkDataSet(localdata,d)
+ from copy import deepcopy
+ localdata = deepcopy(d)
root = "%s/install/%s" % (workdir, pkg)
oe.data.setVar('ROOT', '', localdata)