summaryrefslogtreecommitdiff
path: root/classes/package_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/package_rpm.bbclass')
-rw-r--r--classes/package_rpm.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/package_rpm.bbclass b/classes/package_rpm.bbclass
index ff5e4ee3a8..c29ab5f423 100644
--- a/classes/package_rpm.bbclass
+++ b/classes/package_rpm.bbclass
@@ -108,8 +108,7 @@ python do_package_rpm () {
packages = bb.data.expand(packages, d)
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)