diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2015-12-10 14:02:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-16 12:11:23 +0000 |
commit | bae08f4caaddc9f5c8e3cd803538853dddb9f8bd (patch) | |
tree | 4f5bebf6090d3c3f361263099f23018cb720ba1a | |
parent | eeb3382f38f0cb9188cccb4d32deb38be0b50f67 (diff) | |
download | openembedded-core-bae08f4caaddc9f5c8e3cd803538853dddb9f8bd.tar.gz openembedded-core-bae08f4caaddc9f5c8e3cd803538853dddb9f8bd.tar.bz2 openembedded-core-bae08f4caaddc9f5c8e3cd803538853dddb9f8bd.zip |
sstate-sysroot-cruft: Add php, python, lua, fontcache generated files to whitelist
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rwxr-xr-x | scripts/sstate-sysroot-cruft.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/scripts/sstate-sysroot-cruft.sh b/scripts/sstate-sysroot-cruft.sh index f62485eaaa..9124e5bf46 100755 --- a/scripts/sstate-sysroot-cruft.sh +++ b/scripts/sstate-sysroot-cruft.sh @@ -90,6 +90,12 @@ WHITELIST="${WHITELIST} \ WHITELIST="${WHITELIST} \ .*\.pyc \ .*\.pyo \ + .*/__pycache__ +" + +# generated by lua +WHITELIST="${WHITELIST} \ + .*\.luac \ " # generated by sgml-common-native @@ -97,6 +103,16 @@ WHITELIST="${WHITELIST} \ .*/etc/sgml/sgml-docbook.bak \ " +# generated by php +WHITELIST="${WHITELIST} \ + .*/usr/lib/php5/php/.channels/ \ + .*/usr/lib/php5/php/.registry/ \ + .*/usr/lib/php5/php/.depdb \ + .*/usr/lib/php5/php/.depdblock \ + .*/usr/lib/php5/php/.filemap \ + .*/usr/lib/php5/php/.lock \ +" + # generated by toolchain WHITELIST="${WHITELIST} \ [^/]*-tcbootstrap/lib \ @@ -108,6 +124,11 @@ WHITELIST="${WHITELIST} \ [^/]*/home/xuser \ " +# generated by fontcache.bbclass +WHITELIST="${WHITELIST} \ + .*/var/cache/fontconfig/ \ +" + SYSROOTS="`readlink -f ${tmpdir}`/sysroots/" mkdir ${OUTPUT} |