[OE-core] [oe-core][PATCH 1/1] gtk-immodules-cache: add conditional delay_to_first_boot
Joe Slater
joe.slater at windriver.com
Tue Jun 26 18:51:20 UTC 2018
We might not be able to execute target code using qemu, so
defer to first boot in that case.
Signed-off-by: Joe Slater <joe.slater at windriver.com>
---
meta/classes/gtk-immodules-cache.bbclass | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/classes/gtk-immodules-cache.bbclass b/meta/classes/gtk-immodules-cache.bbclass
index 9bb0af8..3b8acb1 100644
--- a/meta/classes/gtk-immodules-cache.bbclass
+++ b/meta/classes/gtk-immodules-cache.bbclass
@@ -10,13 +10,16 @@ GTKIMMODULES_PACKAGES ?= "${PN}"
gtk_immodule_cache_postinst() {
if [ "x$D" != "x" ]; then
+ # allow for not being able to execute target code via qemu
$INTERCEPT_DIR/postinst_intercept update_gtk_immodules_cache ${PKG} \
mlprefix=${MLPREFIX} \
binprefix=${MLPREFIX} \
libdir=${libdir} \
libexecdir=${libexecdir} \
base_libdir=${base_libdir} \
- bindir=${bindir}
+ bindir=${bindir} || \
+ $INTERCEPT_DIR/postinst_intercept delay_to_first_boot ${PKG} \
+ mlprefix=${MLPREFIX}
else
if [ ! -z `which gtk-query-immodules-2.0` ]; then
gtk-query-immodules-2.0 > ${libdir}/gtk-2.0/2.10.0/immodules.cache
--
2.7.4
More information about the Openembedded-core
mailing list