summaryrefslogtreecommitdiff
path: root/classes/package_tar.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/package_tar.bbclass')
-rw-r--r--classes/package_tar.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/package_tar.bbclass b/classes/package_tar.bbclass
index 2d169c7491..359e35f113 100644
--- a/classes/package_tar.bbclass
+++ b/classes/package_tar.bbclass
@@ -61,8 +61,7 @@ python do_package_tar () {
return
for pkg in packages.split():
- from copy import copy, deepcopy
- localdata = deepcopy(d)
+ localdata = bb.data.createCopy(d)
root = "%s/install/%s" % (workdir, pkg)
bb.data.setVar('ROOT', '', localdata)