diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2016-01-04 15:13:14 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-07 13:40:17 +0000 |
| commit | b900ec8c6c1a711ac2b24135061fd470e5b37f3e (patch) | |
| tree | 639ab9fcf1b4a50dbe61b4c0f82867561aa66a03 | |
| parent | 20843fa01618d5591e30b2a0336605ddc1f62a61 (diff) | |
| download | poky-b900ec8c6c1a711ac2b24135061fd470e5b37f3e.tar.gz | |
sstate-sysroot-cruft.sh: Extend the whitelist
* add more php5 entries
* add builder user (from builder.bb)
* add .bashrc and .profile in HOME directory of created user
* add imgdata directory generated by image.py
(From OE-Core rev: 49c744321ff1dfb16491d300ff46b6b5d5aa3f14)
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 | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/scripts/sstate-sysroot-cruft.sh b/scripts/sstate-sysroot-cruft.sh index 9124e5bf46..b7ed8ea846 100755 --- a/scripts/sstate-sysroot-cruft.sh +++ b/scripts/sstate-sysroot-cruft.sh | |||
| @@ -90,7 +90,7 @@ WHITELIST="${WHITELIST} \ | |||
| 90 | WHITELIST="${WHITELIST} \ | 90 | WHITELIST="${WHITELIST} \ |
| 91 | .*\.pyc \ | 91 | .*\.pyc \ |
| 92 | .*\.pyo \ | 92 | .*\.pyo \ |
| 93 | .*/__pycache__ | 93 | .*/__pycache__ \ |
| 94 | " | 94 | " |
| 95 | 95 | ||
| 96 | # generated by lua | 96 | # generated by lua |
| @@ -105,8 +105,8 @@ WHITELIST="${WHITELIST} \ | |||
| 105 | 105 | ||
| 106 | # generated by php | 106 | # generated by php |
| 107 | WHITELIST="${WHITELIST} \ | 107 | WHITELIST="${WHITELIST} \ |
| 108 | .*/usr/lib/php5/php/.channels/ \ | 108 | .*/usr/lib/php5/php/.channels/.* \ |
| 109 | .*/usr/lib/php5/php/.registry/ \ | 109 | .*/usr/lib/php5/php/.registry/.* \ |
| 110 | .*/usr/lib/php5/php/.depdb \ | 110 | .*/usr/lib/php5/php/.depdb \ |
| 111 | .*/usr/lib/php5/php/.depdblock \ | 111 | .*/usr/lib/php5/php/.depdblock \ |
| 112 | .*/usr/lib/php5/php/.filemap \ | 112 | .*/usr/lib/php5/php/.filemap \ |
| @@ -122,6 +122,18 @@ WHITELIST="${WHITELIST} \ | |||
| 122 | WHITELIST="${WHITELIST} \ | 122 | WHITELIST="${WHITELIST} \ |
| 123 | [^/]*/home \ | 123 | [^/]*/home \ |
| 124 | [^/]*/home/xuser \ | 124 | [^/]*/home/xuser \ |
| 125 | [^/]*/home/xuser/.bashrc \ | ||
| 126 | [^/]*/home/xuser/.profile \ | ||
| 127 | [^/]*/home/builder \ | ||
| 128 | [^/]*/home/builder/.bashrc \ | ||
| 129 | [^/]*/home/builder/.profile \ | ||
| 130 | " | ||
| 131 | |||
| 132 | # generated by image.py for WIC | ||
| 133 | # introduced in oe-core commit 861ce6c5d4836df1a783be3b01d2de56117c9863 | ||
| 134 | WHITELIST="${WHITELIST} \ | ||
| 135 | [^/]*/imgdata \ | ||
| 136 | [^/]*/imgdata/[^/]*\.env \ | ||
| 125 | " | 137 | " |
| 126 | 138 | ||
| 127 | # generated by fontcache.bbclass | 139 | # generated by fontcache.bbclass |
