]> code.ossystems Code Review - openembedded-core.git/commit
package.bbclass: Remove empty directories created as part of srcdebug handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Feb 2012 12:26:12 +0000 (12:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Feb 2012 00:11:14 +0000 (00:11 +0000)
commit4f4451f7c0f9762092eb3dbc995b4afa2572ceb6
treef5a4c33d075949bc2084b8764f6ab54a3f72cabc
parent8f0d188df4aaccc3fd4911f12c532f81ae9714a7
package.bbclass: Remove empty directories created as part of srcdebug handling

We can create directories like /usr/src/debug as part of the debug file
manipulations. If these are going to end up empty, remove them to avoid QA
warnings like:

WARNING: For recipe task-core-x11, the following files/directories were installed but not shipped in any package:
WARNING:   /usr
WARNING:   /usr/src
WARNING:   /usr/src/debug
WARNING: For recipe task-core-console, the following files/directories were installed but not shipped in any package:
WARNING:   /usr
WARNING:   /usr/src
WARNING:   /usr/src/debug

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