diff options
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_cache | 4 |
1 files changed, 3 insertions, 1 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 index fe468092c..fc3f9d0d6 100644 --- a/import-layers/yocto-poky/scripts/postinst-intercepts/update_gio_module_cache +++ b/import-layers/yocto-poky/scripts/postinst-intercepts/update_gio_module_cache @@ -3,5 +3,7 @@ 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/ + $D${libexecdir}/${binprefix}gio-querymodules $D${libdir}/gio/modules/ +[ ! -e $D${libdir}/gio/modules/giomodule.cache ] || + chown root:root $D${libdir}/gio/modules/giomodule.cache |