summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-27 17:15:17 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-11 17:46:11 +0000
commit110b6cb2ef5c379eea8fe79cf7648aa08c2a5961 (patch)
tree3e94b6712b1080eabd6d486456da0e60146ec6ae /meta
parent09f368042fa486df448c8b7b2f826cb30c9e03a4 (diff)
downloadpoky-110b6cb2ef5c379eea8fe79cf7648aa08c2a5961.tar.gz
staging: Clean up files installed into the sysroot
There are a variety of files being installed into $datadir which we don't need. Pick the top "offenders" which amount of thousands of files and simply don't install them. These include things like test data, terminfo data, locale data for native tools and so on. This saves copying these files into native and target sysroots and should improve performance (smaller sstate, fewer files to copy around). With this and the python recipe change, alsa-tools went from: recipe-sysroot: 18357 recipe-sysroot-native: 14129 to recipe-sysroot: 10809 recipe-sysroot-native: 8079 which is a decent improvement. (From OE-Core rev: 064b38c29543761186862cdbfe0155082137a212) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 366c72941fe1c24d0b1d96df46e13cb9eb4e79d6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/staging.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index f0a619b35b..8165ab268e 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -27,11 +27,15 @@ SYSROOT_DIRS_BLACKLIST = " \
27 ${mandir} \ 27 ${mandir} \
28 ${docdir} \ 28 ${docdir} \
29 ${infodir} \ 29 ${infodir} \
30 ${datadir}/X11/locale \
30 ${datadir}/applications \ 31 ${datadir}/applications \
32 ${datadir}/bash-completion \
31 ${datadir}/fonts \ 33 ${datadir}/fonts \
32 ${datadir}/gtk-doc/html \ 34 ${datadir}/gtk-doc/html \
35 ${datadir}/installed-tests \
33 ${datadir}/locale \ 36 ${datadir}/locale \
34 ${datadir}/pixmaps \ 37 ${datadir}/pixmaps \
38 ${datadir}/terminfo \
35 ${libdir}/${BPN}/ptest \ 39 ${libdir}/${BPN}/ptest \
36" 40"
37 41