summaryrefslogtreecommitdiff
path: root/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-23 00:45:02 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-23 00:45:02 +0000
commit8581bc05f43d81179added7909e99d3afde1f447 (patch)
tree3ba5f10b77e3f696b766c22deaab88035a1da69c /classes/package.bbclass
parent05ad0b6026b3f3eebe3c2af3597bb5379f6bb70b (diff)
package.bbclass: Make sure PKGD is empty before populating fixing certain bugs (from Poky)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'classes/package.bbclass')
-rw-r--r--classes/package.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index bb81f33b29..8892fa9084 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -334,6 +334,7 @@ python perform_packagecopy () {
# Start by package population by taking a copy of the installed
# files to operate on
+ os.system('rm -rf %s/*' % (dvar))
os.system('cp -pPR %s/* %s/' % (dest, dvar))
}