summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-25 16:47:25 +0100
committerSaul Wold <sgw@linux.intel.com>2012-08-28 08:03:39 -0700
commitc9fdd2fd108fa557d8f60339405447b4ea4d6f64 (patch)
treeebdb2cab7482419e11eb53aff6ce2a79925f84f1
parent1b5aa7ce6ef22c015e0ab8463ba528f916c421b0 (diff)
downloadopenembedded-core-c9fdd2fd108fa557d8f60339405447b4ea4d6f64.tar.gz
openembedded-core-c9fdd2fd108fa557d8f60339405447b4ea4d6f64.tar.bz2
openembedded-core-c9fdd2fd108fa557d8f60339405447b4ea4d6f64.zip
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@linuxfoundation.org>
-rw-r--r--meta/classes/staging.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 8b3dcb4d58..82624cba9c 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() {