[oe-commits] Richard Purdie : staging.bbclass: Might as well drop the applications, fonts and pixmap directories from ${datadir}
git at git.openembedded.org
git at git.openembedded.org
Wed Aug 29 15:05:42 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: c9fdd2fd108fa557d8f60339405447b4ea4d6f64
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c9fdd2fd108fa557d8f60339405447b4ea4d6f64
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Sat Aug 25 16:47:25 2012 +0100
staging.bbclass: Might as well drop the applications, fonts and pixmap directories from ${datadir}
These cause various file conflicts and aren't useful within the sysroot anyway. We might
as well remove them. Whitelisting the contents of ${datadir} that *is* useful might
be a better option in future.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/staging.bbclass | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 8b3dcb4..82624cb 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -53,6 +53,7 @@ sysroot_stage_dirs() {
sysroot_stage_dir $from${datadir} $to${datadir}
# We don't care about docs/info/manpages/locales
rm -rf $to${mandir}/ $to${docdir}/ $to${infodir}/ ${to}${datadir}/locale/
+ rm -rf $to${datadir}/applications/ $to${datadir}/fonts/ $to${datadir}/pixmaps/
}
sysroot_stage_all() {
More information about the Openembedded-commits
mailing list