aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/sstate-sysroot-cruft.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/sstate-sysroot-cruft.sh')
-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 f62485eaaa3..9124e5bf461 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}