[OE-core] [PATCH v2 1/3] qemu.bbclass: add qemu_run_binary() function

Burton, Ross ross.burton at intel.com
Thu Dec 20 15:19:05 UTC 2012


On 20 December 2012 14:59, Laurentiu Palcu <laurentiu.palcu at intel.com> wrote:
> Ok, I agree. But how do you call python routines from the postinstall
> scriptlets which run in do_rootfs context? readelf needs to run at
> postinstall time because the binary we run through qemu does not
> necessarily belong to the same package. Let's take, for example, the
> current patchset. You can have a recipe that provides an input method
> module and call gtk-query-modules-2.0 binary to create the cache.

Right, of course.  awk might be clearer than grep/sed but only marginally...

Ross




More information about the Openembedded-core mailing list