summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2015-12-10 14:02:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-16 12:11:23 +0000
commitbae08f4caaddc9f5c8e3cd803538853dddb9f8bd (patch)
tree4f5bebf6090d3c3f361263099f23018cb720ba1a /scripts
parenteeb3382f38f0cb9188cccb4d32deb38be0b50f67 (diff)
downloadopenembedded-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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sstate-sysroot-cruft.sh21
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}