diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2015-12-10 14:02:15 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-11-07 12:02:20 +0100 |
commit | ded9e73a2585b861f8c5db19993f314cb3155600 (patch) | |
tree | b921674496dd63a5f40ebbef46dd9227dee01623 | |
parent | d39e7ca717b67ad9f2f78b83d90d91e410e52965 (diff) | |
download | openembedded-core-contrib-ded9e73a2585b861f8c5db19993f314cb3155600.tar.gz |
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} |