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

Burton, Ross ross.burton at intel.com
Thu Dec 20 14:45:20 UTC 2012


On 20 December 2012 13:15, Laurentiu Palcu <laurentiu.palcu at intel.com> wrote:
> dynamic_loader = rootfs_path + '$(readelf -l ' + rootfs_path + \
>       binary + '| grep "Requesting program interpreter"|sed -e \'s/^.*\[.*: \(.*\)\]/\\1/\')'

Would it be easier to do the string manipulation in python?  Spawning
grep and sed when Python can do string manipulation seems excessive.

Nice addition to the class though.

Ross




More information about the Openembedded-core mailing list