diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-20 17:11:27 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-20 17:11:27 +0000 |
commit | 246dbec86852444e930b2fd84827ddf6f0edc592 (patch) | |
tree | b7ca1094b54e37e0d7c0d832dca6516f486e735a | |
parent | 6ebcb5796856d2b429d46eec78b2776153ddd547 (diff) | |
download | openembedded-core-246dbec86852444e930b2fd84827ddf6f0edc592.tar.gz openembedded-core-246dbec86852444e930b2fd84827ddf6f0edc592.tar.bz2 openembedded-core-246dbec86852444e930b2fd84827ddf6f0edc592.zip |
package.bbclass: Clear package directory copy before installing new files to prevent stale data
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/classes/package.bbclass | 1 |
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 () { # 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)) } |