summaryrefslogtreecommitdiffstats
path: root/meta/classes/staging.bbclass
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/classes/staging.bbclass
parent8354db9258614578da063edb6e237c36304a032f (diff)
downloadast2050-yocto-poky-266d9ce1cf97d3d7587a47903e7d629e9a32af9b.zip
ast2050-yocto-poky-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/classes/staging.bbclass')
-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 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() {
OpenPOWER on IntegriCloud