On 23 January 2017 at 22:13, <jose.perez.carra...@linux.intel.com> wrote: > > + checkmodcode = runCmd("strings %s | head -n 10 | grep '%s'" % (bzimagefile, modstring))
Annoyingly this bit is failing on some autobuilders: AssertionError: Command 'strings /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86-poky-linux/linux-yocto/4.10+git999-r0/image/boot/bzImage-4.10.0-yocto-standard | head -n 10 | grep 'use a boot loader - Devtool kernel testing'' returned non-zero exit status 1: BFD: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/work/qemux86-poky-linux/linux-yocto/4.10+git999-r0/image/boot/bzImage-4.10.0-yocto-standard: Warning: Ignoring section flag IMAGE_SCN_MEM_NOT_PAGED in section .bss I'm wondering if grep on its own - not strings|head|grep - would work around this? (note that strings is "smart" and if executed on an ELF will use libbfd to extract the segments with human strings in, which is why it's returning errors from BFD) Ross
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core