package.bbclass: Fix various problems
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Nov 2011 14:21:11 +0000 (14:21 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Nov 2011 17:43:57 +0000 (17:43 +0000)
commit907f8cda605ce2db157718e5d6e902b4cf0e2f3f
treee5dad9e9d1ee63e0d33309a5964c66d96bee63a6
parentadf59505a6ffac37c0bf628daad43241c05d8174
package.bbclass: Fix various problems

Before this change:

a) Ownership and permissions of files copied from packages to
   package-split could get lost during the copy process. This change
   ensures they are preserved.
b) Ownership and permissions of directories could also get lost.
   Most of the complexity in this patch is addressing this problem
   ensuring newly created directories match the source ones being
   copied.
c) There was no warning about directories being created but not
   shipped by any package.

This patch fixes all of the above issues.

(From OE-Core rev: 6021e309e69d823e1467648aee12a32182945569)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass