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:05 +0000 |
commit | 49c744321ff1dfb16491d300ff46b6b5d5aa3f14 (patch) | |
tree | d02374103cf3b98f3de94f5f7d63efcf16fa9685 /scripts/sstate-sysroot-cruft.sh | |
parent | 8609c4e5eadfdd60664640c4ae07e250c98dd86b (diff) | |
download | openembedded-core-49c744321ff1dfb16491d300ff46b6b5d5aa3f14.tar.gz openembedded-core-49c744321ff1dfb16491d300ff46b6b5d5aa3f14.tar.bz2 openembedded-core-49c744321ff1dfb16491d300ff46b6b5d5aa3f14.zip |
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
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/sstate-sysroot-cruft.sh')
-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} \ 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 |