summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2015-12-17 13:37:38 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2016-11-07 12:02:21 +0100
commit6514d4552e332a0a346cf49a531865d3d8c8f7c6 (patch)
tree136ae5fa30ab5fed9bb14620312fa0539f66cd68
parentded9e73a2585b861f8c5db19993f314cb3155600 (diff)
downloadopenembedded-core-contrib-6514d4552e332a0a346cf49a531865d3d8c8f7c6.tar.gz
openembedded-core-contrib-6514d4552e332a0a346cf49a531865d3d8c8f7c6.tar.bz2
openembedded-core-contrib-6514d4552e332a0a346cf49a531865d3d8c8f7c6.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>
-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