On Thu, 2013-02-07 at 16:38 +0100, Marcin Juszkiewicz wrote: > 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.pa...@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)
Ideally the intercept code should fall back to running the postinst on the target if qemu isn't available. Patches welcome to make that happen. The hard part is this is an "allarch" recipe so we can't disable this conditionally on aarch64. We can disable all intercept scripts I guess. Or we make these packages arch specific on aarch64 I guess. Cheers, Richard _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core