summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-25 16:47:25 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-29 16:02:07 -0700
commit266d9ce1cf97d3d7587a47903e7d629e9a32af9b (patch)
treea8864b7f28484ac00dc6a9b1f3e5e6ebff277e5b /meta
parent8354db9258614578da063edb6e237c36304a032f (diff)
downloadpoky-266d9ce1cf97d3d7587a47903e7d629e9a32af9b.tar.gz
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. (From OE-Core rev: c9fdd2fd108fa557d8f60339405447b4ea4d6f64) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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() {
53 sysroot_stage_dir $from${datadir} $to${datadir} 53 sysroot_stage_dir $from${datadir} $to${datadir}
54 # We don't care about docs/info/manpages/locales 54 # We don't care about docs/info/manpages/locales
55 rm -rf $to${mandir}/ $to${docdir}/ $to${infodir}/ ${to}${datadir}/locale/ 55 rm -rf $to${mandir}/ $to${docdir}/ $to${infodir}/ ${to}${datadir}/locale/
56 rm -rf $to${datadir}/applications/ $to${datadir}/fonts/ $to${datadir}/pixmaps/
56} 57}
57 58
58sysroot_stage_all() { 59sysroot_stage_all() {