[OE-core] [oe-commits] Jonathan Liu : fontcache.bbclass: prepend to PACKAGEFUNCS instead of appending

Martin Jansa martin.jansa at gmail.com
Sun Mar 29 00:28:43 UTC 2015


On Wed, Mar 25, 2015 at 05:12:08PM +0100, Martin Jansa wrote:
> On Wed, Mar 25, 2015 at 12:11:05PM +0000, Burton, Ross wrote:
> > On 23 March 2015 at 22:21, Martin Jansa <martin.jansa at gmail.com> wrote:
> > 
> > > In my case it's reproducible by adding udev-ptest to image, more
> > > specifically
> > > having these 2 directories in rootfs:
> > > usr/lib/udev/ptest/test/sys/devices
> > > usr/lib/udev/ptest/test/sys/bus
> > >
> > 
> > oe-core 3f799b should mean that those directories are in a tarball instead
> > of unpacked on the rootfs.  Do you have that commit?
> 
> Oh, thanks for pointer. I was seeing the same issue in dizzy and master
> build, but this change can explain why I wasn't able to reproduce it in
> master yesterday.

I've found the reason why it was failing for me in master even with this
udev fix when building our internal images.

The problem is that we have fontconfig bbappend which sets:
WEBOS_FONTCONFIG_CACHE = "${datadir}/fontconfig/cache"
EXTRA_OECONF_append = " --with-cache-dir=${WEBOS_FONTCONFIG_CACHE}"

and this oe-core commit:
commit 23393c6685860d0b1c459874d35395360d0b6d3c
Author: Jonathan Liu <net147 at gmail.com>
Date:   Mon Mar 9 13:28:37 2015 +1100

    postinst-intercepts/update_font_cache: fix ownership of fontconfig cache
 
adds:
chown -R root:root $D${localstatedir}/cache/fontconfig

Which doesn't exist in our builds and chown and whole postinst
interceptor fails.

I'll send patch to make fontconfig cache dir configureable so that we
don't need to overlay fontcache.bbclass as well as
scripts/postinst-intercepts/update_font_cache

Thanks,

> 
> > Ross
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com



-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150329/6d34687b/attachment-0002.sig>


More information about the Openembedded-core mailing list