From 246dbec86852444e930b2fd84827ddf6f0edc592 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 20 Nov 2009 17:11:27 +0000 Subject: package.bbclass: Clear package directory copy before installing new files to prevent stale data Signed-off-by: Richard Purdie --- meta/classes/package.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes') diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 890cacee1..8611d9477 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)) } -- cgit v1.2.3