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>
This commit is contained in:
Martin Jansa 2016-01-04 15:13:14 +01:00 committed by Richard Purdie
parent 20843fa016
commit b900ec8c6c
1 changed files with 15 additions and 3 deletions

View File

@ -90,7 +90,7 @@ WHITELIST="${WHITELIST} \
WHITELIST="${WHITELIST} \
.*\.pyc \
.*\.pyo \
.*/__pycache__
.*/__pycache__ \
"
# generated by lua
@ -105,8 +105,8 @@ WHITELIST="${WHITELIST} \
# generated by php
WHITELIST="${WHITELIST} \
.*/usr/lib/php5/php/.channels/ \
.*/usr/lib/php5/php/.registry/ \
.*/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 \
@ -122,6 +122,18 @@ WHITELIST="${WHITELIST} \
WHITELIST="${WHITELIST} \
[^/]*/home \
[^/]*/home/xuser \
[^/]*/home/xuser/.bashrc \
[^/]*/home/xuser/.profile \
[^/]*/home/builder \
[^/]*/home/builder/.bashrc \
[^/]*/home/builder/.profile \
"
# generated by image.py for WIC
# introduced in oe-core commit 861ce6c5d4836df1a783be3b01d2de56117c9863
WHITELIST="${WHITELIST} \
[^/]*/imgdata \
[^/]*/imgdata/[^/]*\.env \
"
# generated by fontcache.bbclass