summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/scripts/postinst-intercepts/update_gio_module_cache
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/scripts/postinst-intercepts/update_gio_module_cache')
-rw-r--r--import-layers/yocto-poky/scripts/postinst-intercepts/update_gio_module_cache7
1 files changed, 7 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/scripts/postinst-intercepts/update_gio_module_cache b/import-layers/yocto-poky/scripts/postinst-intercepts/update_gio_module_cache
new file mode 100644
index 000000000..fe468092c
--- /dev/null
+++ b/import-layers/yocto-poky/scripts/postinst-intercepts/update_gio_module_cache
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D${libdir}:$D${base_libdir} \
+ $D${libexecdir}/${binprefix}gio-querymodules $D${libdir}/gio/modules/
+
OpenPOWER on IntegriCloud