Re: [PATCH 1/8] add fontcache.bbclass

Marcin Juszkiewicz
2013-02-07T21:52:10Z

W dniu 05.02.2013 10:34, Laurentiu Palcu pisze:
> All font packages should inherit this class in order to generate the
> proper postinst/postrm scriptlets.
>
> The scriptlets will actually create a host intercept hook that will be
> executed at the end, at do_rootfs time, after all packages have been
> installed. This is good when there are many font packages.
>
> [YOCTO #2923]
>
> Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
> ---
> meta/classes/fontcache.bbclass | 47 ++++++++++++++++++++++++++++++++++++++++

> +${@qemu_run_binary(d, '$D', '/usr/bin/fc-cache')} --sysroot=$D >/dev/null 2>&1

What about platform which do not have qemu support? Like AArch64...

| Configuring libpcre-staticdev.
| Building from feeds activated!
| Running intercept scripts:
| > Executing update_font_cache
| ERROR: Function failed: do_rootfs (see
/home/hrw/HDD/devel/canonical/aarch64/openembedded/build/tmp-eglibc/work/genericarmv8-oe-linux/linaro-image-sdk/1.0-r2/temp/log.do_rootfs.23211
for further information)