]> code.ossystems Code Review - openembedded-core.git/commit
staging: Clean up files installed into the sysroot
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 27 Jan 2021 17:15:17 +0000 (17:15 +0000)
committerAnuj Mittal <anuj.mittal@intel.com>
Sat, 6 Feb 2021 06:53:57 +0000 (14:53 +0800)
commit064b38c29543761186862cdbfe0155082137a212
treeac28f37d3a3a87d8a3176c5233fcadbbb3b71b64
parent653f8b1a8adf59d924028bfc69ead1c7437de11e
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 366c72941fe1c24d0b1d96df46e13cb9eb4e79d6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/staging.bbclass