<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 29, 2017 at 1:33 PM, Andrea Adami <span dir="ltr">&lt;<a href="mailto:andrea.adami@gmail.com" target="_blank">andrea.adami@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb adM"><div class="h5">On Tue, Mar 28, 2017 at 6:14 PM, Christopher Larson &lt;<a href="mailto:kergoth@gmail.com">kergoth@gmail.com</a>&gt; wrote:<br>
&gt; From: Abdur Rehman &lt;<a href="mailto:abdur_rehman@mentor.com">abdur_rehman@mentor.com</a>&gt;<br>
&gt;<br>
&gt; update_gio_module_cache intercept creates file:<br>
&gt; $D${libdir}/gio/modules/<wbr>giomodule.cache<br>
&gt;<br>
&gt; Change ownership of this file to root:root to avoid user contamination<br>
&gt; by host.<br>
&gt;<br>
&gt; Signed-off-by: Abdur Rehman &lt;<a href="mailto:abdur_rehman@mentor.com">abdur_rehman@mentor.com</a>&gt;<br>
&gt; Signed-off-by: Christopher Larson &lt;<a href="mailto:chris_larson@mentor.com">chris_larson@mentor.com</a>&gt;<br>
&gt; ---<br>
&gt;  scripts/postinst-intercepts/<wbr>update_gio_module_cache | 2 ++<br>
&gt;  1 file changed, 2 insertions(+)<br>
&gt;<br>
&gt; diff --git a/scripts/postinst-intercepts/<wbr>update_gio_module_cache b/scripts/postinst-intercepts/<wbr>update_gio_module_cache<br>
&gt; index fe468092cf..92092f2144 100644<br>
&gt; --- a/scripts/postinst-intercepts/<wbr>update_gio_module_cache<br>
&gt; +++ b/scripts/postinst-intercepts/<wbr>update_gio_module_cache<br>
&gt; @@ -5,3 +5,5 @@ set -e<br>
&gt;  PSEUDO_UNLOAD=1 qemuwrapper -L $D -E LD_LIBRARY_PATH=$D${libdir}:$<wbr>D${base_libdir} \<br>
&gt;          $D${libexecdir}/${binprefix}<wbr>gio-querymodules $D${libdir}/gio/modules/<br>
&gt;<br>
&gt; +chown root:root $D${libdir}/gio/modules/<wbr>giomodule.cache<br>
&gt; +<br>
&gt; --<br>
&gt; 2.11.1<br>
&gt;<br>
</div></div>&gt; --<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Openembedded-core mailing list<br>
&gt; <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
&gt; <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
<br>
<br>
Hello,<br>
There must be something wrong with this patch.<br>
After fresh pull of an hour ago I git:<br>
<br>
andrea@ThinkPad-T520:/oe/oe-<wbr>core/build$ bitbake core-image-base<br>
Loading c<span class="aBn" tabindex="0"><span class="aQJ">ache: 1</span></span>00% |#############################<wbr>###############| Time: 0:00:00<br>
Loaded 2095 entries from dependency cache.<br>
NOTE: Resolving any missing task queue dependencies<br>
<br>
Build Configuration:<br>
BB_VERSION        = &quot;1.33.2&quot;<br>
BUILD_SYS         = &quot;x86_64-linux&quot;<br>
NATIVELSBSTRING   = &quot;ubuntu-16.04&quot;<br>
TARGET_SYS        = &quot;arm-oe-linux-gnueabi&quot;<br>
MACHINE           = &quot;c7x0&quot;<br>
DISTRO            = &quot;nodistro&quot;<br>
DISTRO_VERSION    = &quot;nodistro.0&quot;<br>
TUNE_FEATURES     = &quot;arm armv5 thumb dsp&quot;<br>
TARGET_FPU        = &quot;soft&quot;<br>
meta              = &quot;master:<wbr>c187326afcf1e9d781c1bd0923e136<wbr>2a6f50f613&quot;<br>
meta-handheld     = &quot;master:<wbr>f88f5bc546ec18de232a91dc1c8185<wbr>ad242c45f7&quot;<br>
meta-oe<br>
meta-initramfs    = &quot;master:<wbr>225e64d95bc41077782815f3dceb6f<wbr>2d1a42b167&quot;<br>
<br>
Initialis<span class="aBn" tabindex="0"><span class="aQJ">ing tas</span></span>ks: 100% |#############################<wbr>##########| Time: 0:00:08<br>
NOTE: Executing SetScene Tasks<br>
NOTE: Executing RunQueue Tasks<br>
WARNING: core-image-base-1.0-r0 do_rootfs: The postinstall intercept<br>
hook &#39;update_gio_module_cache&#39; failed (exit code: 1)! See log for<br>
details! (Output: b&#39;&#39;)<br>
WARNING: core-image-base-1.0-r0 do_rootfs: The postinstalls for the<br>
following packages will be postponed for first boot: libglib-2.0-0<br>
NOTE: Tasks Summary: Attempted 3440 tasks of which 3427 didn&#39;t need to<br>
be rerun and all succeeded.</blockquote></div><br>Odd, we’ve been running with this applied for ages. Is there anything useful in do_rootfs? I’ll attempt to repro here. Thanks, and sorry for the hassle.<br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Christopher Larson<br>kergoth at gmail dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Senior Software Engineer, Mentor Graphics</div></div></div></div>
</div></div>