summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-20 17:11:27 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-20 17:11:27 +0000
commit246dbec86852444e930b2fd84827ddf6f0edc592 (patch)
treeb7ca1094b54e37e0d7c0d832dca6516f486e735a /meta/classes
parent6ebcb5796856d2b429d46eec78b2776153ddd547 (diff)
downloadpoky-246dbec86852444e930b2fd84827ddf6f0edc592.tar.gz
package.bbclass: Clear package directory copy before installing new files to prevent stale data
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 890cacee10..8611d94774 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -283,6 +283,7 @@ python perform_packagecopy () {
283 283
284 # Start by package population by taking a copy of the installed 284 # Start by package population by taking a copy of the installed
285 # files to operate on 285 # files to operate on
286 os.system('rm -rf %s/*' % (dvar))
286 os.system('cp -pPR %s/* %s/' % (dest, dvar)) 287 os.system('cp -pPR %s/* %s/' % (dest, dvar))
287} 288}
288 289