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:12:15 +0000 |
commit | 19c76ad209a6d79b31cc9e804861a3573176fc3f (patch) | |
tree | 7311bb25d647a3a2c70152f4e725fda2e5124e58 | |
parent | f80f8baa6f5547e86fb758ba35baf7bd1e81cc15 (diff) | |
download | poky-19c76ad209a6d79b31cc9e804861a3573176fc3f.tar.gz |
sstate-sysroot-cruft: Add php, python, lua, fontcache generated files to whitelist
(From OE-Core rev: bae08f4caaddc9f5c8e3cd803538853dddb9f8bd)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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} \ | |||
90 | WHITELIST="${WHITELIST} \ | 90 | WHITELIST="${WHITELIST} \ |
91 | .*\.pyc \ | 91 | .*\.pyc \ |
92 | .*\.pyo \ | 92 | .*\.pyo \ |
93 | .*/__pycache__ | ||
94 | " | ||
95 | |||
96 | # generated by lua | ||
97 | WHITELIST="${WHITELIST} \ | ||
98 | .*\.luac \ | ||
93 | " | 99 | " |
94 | 100 | ||
95 | # generated by sgml-common-native | 101 | # generated by sgml-common-native |
@@ -97,6 +103,16 @@ WHITELIST="${WHITELIST} \ | |||
97 | .*/etc/sgml/sgml-docbook.bak \ | 103 | .*/etc/sgml/sgml-docbook.bak \ |
98 | " | 104 | " |
99 | 105 | ||
106 | # generated by php | ||
107 | WHITELIST="${WHITELIST} \ | ||
108 | .*/usr/lib/php5/php/.channels/ \ | ||
109 | .*/usr/lib/php5/php/.registry/ \ | ||
110 | .*/usr/lib/php5/php/.depdb \ | ||
111 | .*/usr/lib/php5/php/.depdblock \ | ||
112 | .*/usr/lib/php5/php/.filemap \ | ||
113 | .*/usr/lib/php5/php/.lock \ | ||
114 | " | ||
115 | |||
100 | # generated by toolchain | 116 | # generated by toolchain |
101 | WHITELIST="${WHITELIST} \ | 117 | WHITELIST="${WHITELIST} \ |
102 | [^/]*-tcbootstrap/lib \ | 118 | [^/]*-tcbootstrap/lib \ |
@@ -108,6 +124,11 @@ WHITELIST="${WHITELIST} \ | |||
108 | [^/]*/home/xuser \ | 124 | [^/]*/home/xuser \ |
109 | " | 125 | " |
110 | 126 | ||
127 | # generated by fontcache.bbclass | ||
128 | WHITELIST="${WHITELIST} \ | ||
129 | .*/var/cache/fontconfig/ \ | ||
130 | " | ||
131 | |||
111 | SYSROOTS="`readlink -f ${tmpdir}`/sysroots/" | 132 | SYSROOTS="`readlink -f ${tmpdir}`/sysroots/" |
112 | 133 | ||
113 | mkdir ${OUTPUT} | 134 | mkdir ${OUTPUT} |