summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-19 13:09:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-19 17:18:08 +0100
commit52d1f7bee70ec498edfb4fcee503ab167bdcf634 (patch)
treedb30a30ec478cbfc0261d07a11c2967acb42eb1d /meta/classes
parent7f28f7514ae21c73ddb833baaf3d0da3fc2cb138 (diff)
downloadpoky-52d1f7bee70ec498edfb4fcee503ab167bdcf634.tar.gz
staging.bbclass: Don't stage doc/manpage/info files
There is no point in having doc, manpage or info files in the staging directory. They just bloat the sstate package size and waste time as they're copied around. We never used to stage these but it crept in when we started staging $datadir. This patch corrects that so they're removed and stop making it into the sysroot. (From OE-Core rev: ec4fea852bde2294ad7a7a703ccf11eb9a109c31) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/staging.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index ee5a025a3b..6540349ff7 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -51,6 +51,8 @@ sysroot_stage_dirs() {
51 sysroot_stage_libdir $from${base_libdir} $to${base_libdir} 51 sysroot_stage_libdir $from${base_libdir} $to${base_libdir}
52 fi 52 fi
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
55 rm -rf $to${mandir}/ $to${docdir}/ $to${infodir}/
54} 56}
55 57
56sysroot_stage_all() { 58sysroot_stage_all() {