Skip to contentSkip to conversation

sstate-sysroot-cruft.sh: Extend the whitelist

PATCH New Martin Jansa 1 participant 2 messages Jan 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 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

---
 scripts/sstate-sysroot-cruft.sh | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)
scripts/sstate-sysroot-cruft.sh +15 -3
index 9124e5b..b7ed8ea 100755
@@ -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
Signature · 1 line
2.6.4
#1 lore raw

PATCH 2/2 pulseaudio: add PACKAGECONFIG for lirc

* it's autodetected from sysroot

---
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-multimedia/pulseaudio/pulseaudio.inc +1 -0
index 27197bd..ec73526 100644
@@ -52,6 +52,7 @@ PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
 # Since many embedded systems don't have non-root users, it's useful to be
 # able to use pulseaudio autospawn for root as well.
 PACKAGECONFIG[autospawn-for-root] = ",,,"
+PACKAGECONFIG[lirc] = "--enable-lirc,--disable-lirc,lirc"
 
 EXTRA_OECONF_append_arm = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", " --enable-neon-opt=no", d)}"
 EXTRA_OECONF_append_armeb = "${@bb.utils.contains("TUNE_FEATURES", "neon", "", " --enable-neon-opt=no", d)}"
Signature · 1 line
2.6.4