summaryrefslogtreecommitdiff
path: root/scripts/sstate-sysroot-cruft.sh
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2016-01-04 15:13:14 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-07 13:40:05 +0000
commit49c744321ff1dfb16491d300ff46b6b5d5aa3f14 (patch)
treed02374103cf3b98f3de94f5f7d63efcf16fa9685 /scripts/sstate-sysroot-cruft.sh
parent8609c4e5eadfdd60664640c4ae07e250c98dd86b (diff)
downloadopenembedded-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-xscripts/sstate-sysroot-cruft.sh18
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